- Notifications
You must be signed in to change notification settings - Fork673
fix: use url-encoded ID in all paths (alternate method)#1820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
37dff7e
tofd8a747
Comparecodecov-commenter commentedJan 9, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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
to1df929c
CompareAn alternative to#1819Make sure all usage of the ID in the URL path is encoded. Normally itisn't an issue as most IDs are integers or strings which don't containa slash ('/'). But when the ID is a string with a slash character itwill break things.Add a test case that shows this fixes wikis issue with subpages whichuse the slash character.Closes:#1079
1df929c
to99e1f8b
CompareThe Interested to hear what you think@nejch |
I guess we can close this one@JohnVillalovos as the changes were essentially incorporated into the original one right? |
Yep! |
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