Opened 7 years ago

Closed 7 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:


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 .

Attachments (0)

Change History (1)

comment:1 Changed 7 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

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.