#22223: reverse() escapes unreserved characters
----------------------------------+------------------------------------
Reporter: erik.van.zijst@… | Owner: nobody
Type: Bug | Status: new
Component: Core (URLs) | Version: 1.6
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
----------------------------------+------------------------------------
Changes (by jorgecarleitao):
* cc: jorgecarleitao@… (added)
Comment:
I've reviewed the PR, and added a comment on github.
It seems that 2396 is obsolete by RFC 3986 (Jan. 2005) [1]:
In particular
reserved = gen-delims / sub-delims
gen-delims = ":" / "/" / "?" / "#" / "[" / "]" / "@"
sub-delims = "!" / "$" / "&" / "'" / "(" / ")"
/ "*" / "+" / "," / ";" / "="
[...]
2.3. Unreserved Characters
Characters that are allowed in a URI but do not have a reserved
purpose are called unreserved. These include uppercase and lowercase
letters, decimal digits, hyphen, period, underscore, and tilde.
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
They also have an appendix with a compiled information about this
http://tools.ietf.org/html/rfc3986#appendix-A
I'm no expert in this, just bringing your attention to it.
[1] http://tools.ietf.org/html/rfc3986#section-2
--
Ticket URL: <https://code.djangoproject.com/ticket/22223#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/082.95584ece3b36fe988469a22a10b44860%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.