Opened 17 years ago

Closed 17 years ago

#4911 closed (duplicate)

reverse not handling escape characters

Reported by: hattawayd Owned by: Jacob
Component: Uncategorized Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


I have one of my url patterns like this:

(r'^plot/(?P<name>\w+)\.(?P<type>\w+)$', image),

but reverse(image, {'name': 'graph', 'type': 'png'})
gives me plot/graph%5C.png

reverse is leaving the \ in as %5C, when it is being used to escape the .

Change History (1)

comment:1 by Chris Beaven, 17 years ago

Resolution: duplicate
Status: newclosed

See #2977

Note: See TracTickets for help on using tickets.
Back to Top