Opened 17 years ago
Closed 17 years ago
#5762 closed (fixed)
APPEND_SLASH mishandles %23 in URL
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | HTTP handling | Version: | dev |
Severity: | Keywords: | URL, %23, #, APPEND_SLASH | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
URLs that contain %23 are handled incorrectly with APPEND_SLASH.
In this example, I am trying to view all items tagged with "C#". Then I try C#X to investigate the bug.
http://localhost:8000/tags/C%23/ --> Correct behavior http://localhost:8000/tags/C%23 --> URL replaced with http://localhost:8000/tags/C/#/ http://localhost:8000/tags/C%23X/ --> Correct behavior http://localhost:8000/tags/C%23X --> URL replaced with http://localhost:8000/tags/c/#X/
Note:
See TracTickets
for help on using tickets.
(In [6553]) Fixed #5762 -- Quoted the portions that make up the URL when appending
"www." or adding a trailing slash in common middleware.