LibraryOfCongress / bagit-conformance-suite

Test cases for validating BagIt implementations
Other
10 stars 8 forks source link

Confirm correct handling of out-of-scope file access #5

Closed acdha closed 6 years ago

acdha commented 7 years ago

We should have invalid bags testing the warnings about out-of-scope file paths:

https://tools.ietf.org/html/draft-kunze-bagit-14#section-6.1

This should include tests for a leading /, ../, ~<username>/, C:\, and \\?\ and \\.\.

acdha commented 7 years ago

Before closing this issue we should make sure we have fetch.txt counterparts for all of these checks

johnscancella commented 6 years ago

@acdha are we missing anything from this? Should we go ahead and close?

acdha commented 6 years ago

👍