Django

Code

Ticket #5762 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

APPEND_SLASH mishandles %23 in URL

Reported by: andrewbadr.etc@gmail.com Assigned to: nobody
Milestone: Component: HTTP handling
Version: SVN Keywords: URL, %23, #, APPEND_SLASH
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation:
Needs tests: Patch needs improvement:

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/

Attachments

Change History

10/20/07 03:31:06 changed by mtredinnick

  • status changed from new to closed.
  • resolution set to fixed.

(In [6553]) Fixed #5762 -- Quoted the portions that make up the URL when appending "www." or adding a trailing slash in common middleware.


Add/Change #5762 (APPEND_SLASH mishandles %23 in URL)




Change Properties
Action