-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Prevent slugs with trailing slashes for non-container resources
* fix: slugs ending on slash with link header cannot create containers * refactor(DataAccessorBasedStore): removing duplicate code and errors * test(ServerFetch): fix integration tests that create a container * fix: Reinstate original checks in setResource to let tests succeed * test: change to container paths to end in / on POST only * refactor: incorporate review changes * fix: Error check was too strict Co-authored-by: Joachim Van Herwegen <joachimvh@gmail.com> * test: make testcase to test allowed slash behaviour * test: removed unnecessary code from tests * test: remove metadata line and duplicate tests Co-authored-by: Joachim Van Herwegen <joachimvh@gmail.com>
- Loading branch information
Showing
4 changed files
with
50 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters