#22267: django.utils.html.smart_urlquote() is incorrectly unquoting the url
---------------------------+---------------------------------------------
Reporter: meenzam@… | Owner: ienzam
Type: Bug | Status: assigned
Component: Utilities | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------+---------------------------------------------
Comment (by ienzam):
Thank you for doing this. This patch fixes all of the problems I was
facing.
One concern is though about the url: {{{ http://example.com/%C3%B6/ä/ }}}
The last part of the url {{{ ä }}} implies that this url is not quoted so
the full url should be quoted - {{{ http://example.com/%25C3%25B6/%C3%A4/
}}}
Currently it becomes: {{{ http://example.com/%C3%B6/%C3%A4/ }}}
But maybe this is not a real life scenario (hopefully).
--
Ticket URL: <https://code.djangoproject.com/ticket/22267#comment:22>
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/075.dde9600827304a5f7af790344985cfe3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.