fix: use url-encoded ID in all paths (alternate method)#1820
Closed
JohnVillalovos wants to merge 1 commit intomainfrom
Closed
fix: use url-encoded ID in all paths (alternate method)#1820JohnVillalovos wants to merge 1 commit intomainfrom
JohnVillalovos wants to merge 1 commit intomainfrom
Conversation
37dff7e to
fd8a747
Compare
Codecov Report
@@ Coverage Diff @@
## main #1820 +/- ##
==========================================
+ Coverage 92.10% 92.18% +0.08%
==========================================
Files 76 76
Lines 4801 4826 +25
==========================================
+ Hits 4422 4449 +27
+ Misses 379 377 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
|
fd8a747 to
1df929c
Compare
An alternative to #1819 Make sure all usage of the ID in the URL path is encoded. Normally it isn't an issue as most IDs are integers or strings which don't contain a slash ('/'). But when the ID is a string with a slash character it will break things. Add a test case that shows this fixes wikis issue with subpages which use the slash character. Closes: #1079
1df929c to
99e1f8b
Compare
Member
Author
|
The Interested to hear what you think @nejch |
Member
|
I guess we can close this one @JohnVillalovos as the changes were essentially incorporated into the original one right? |
Member
Author
Yep! |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An alternative to #1819
Make sure all usage of the ID in the URL path is encoded. Normally it
isn't an issue as most IDs are integers or strings which don't contain
a slash ('/'). But when the ID is a string with a slash character it
will break things.
Add a test case that shows this fixes wikis issue with subpages which
use the slash character.
Closes: #1079