Opened 8 years ago

Closed 8 years ago

#4911 closed (duplicate)

reverse not handling escape characters

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

Description

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 Changed 8 years ago by SmileyChris

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

See #2977

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