#2978: QueryDict.urlencode() doesnt quote &
----------------------------------------------------+-----------------------
Reporter: Joakim Sernbrant <[EMAIL PROTECTED]> | Owner:
adrian
Status: closed | Component:
Core framework
Version: SVN | Resolution:
invalid
Keywords: urlencode | Stage:
Design decision needed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
----------------------------------------------------+-----------------------
Changes (by jacob):
* status: new => closed
* resolution: => invalid
Comment:
No, this is incorrect. An "&" in a URL is perfectly valid (go do a Google
search and look at the URL); it's only ''in HTML'' that they need to be
entity encoded (and you've got the {{{escape}}} filter for that purpose).
--
Ticket URL: <http://code.djangoproject.com/ticket/2978#comment:2>
Django Code <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---