Opened 17 years ago

Closed 13 years ago

Last modified 13 years ago

#5964 closed New feature (fixed)

utils: urlunquote

Reported by: Thomas Güttler (Home) < > Owned by: Aymeric Augustin
Component: Core (Other) Version: dev
Severity: Normal Keywords:
Cc: hv@… Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hi,

Using only urllib.unquote() for the result of django.utils.http.urlquote() does
not work. That's why I think an urlunquote() would be good.

A patch inclusive unittest is attached.

Attachments (2)

urlunquote.diff (1.4 KB ) - added by Thomas Güttler (Home) < > 17 years ago.
5964.diff (2.8 KB ) - added by Simon Meers 13 years ago.

Download all attachments as: .zip

Change History (11)

by Thomas Güttler (Home) < >, 17 years ago

Attachment: urlunquote.diff added

comment:1 by Simon G <dev@…>, 17 years ago

Triage Stage: UnreviewedDesign decision needed

comment:2 by Adrian Holovaty, 16 years ago

Component: ToolsCore framework

comment:3 by Gabriel Hurley, 14 years ago

Severity: Normal
Type: New feature

comment:4 by Alex Gaynor, 13 years ago

Easy pickings: unset
Triage Stage: Design decision neededAccepted
UI/UX: unset

comment:5 by Simon Meers, 13 years ago

Makes sense to me, though we ought to provide unquote_plus since we provide quote_plus. I'll attach patch that covers both, though someone with deep unicode knowledge should double-check whether we should be using encode/decode instead, and whether utf-8 will suffice here.

by Simon Meers, 13 years ago

Attachment: 5964.diff added

comment:6 by Aymeric Augustin, 13 years ago

Owner: changed from nobody to Aymeric Augustin

comment:7 by Aymeric Augustin, 13 years ago

Resolution: fixed
Status: newclosed

In [17407]:

(The changeset message doesn't reference this ticket)

comment:8 by Thomas Güttler, 13 years ago

thank you.

comment:9 by Aymeric Augustin, 13 years ago

Well, sorry for the delay...

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