#28123: django.utils.html.smart_urlquote() is incorrectly parsing the query string --------------------------------+-------------------------------------- Reporter: Denis Pechenev | Owner: nobody Type: Bug | Status: new Component: Utilities | Version: 1.10 Severity: Normal | Resolution: Keywords: smart_urlquote | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 --------------------------------+--------------------------------------
Comment (by Denis Pechenev): Replying to [comment:9 Tim Graham]: > How does it cause data loss? The bug doesn't cause data loss, but it causes data corruption after applying urlize() filter for strings which contain urls. So urls become broken and there is no way to fix that without forking urlize() or updating application to support python3 or applying some custom code. We have Django 1.10.7 and python 2.7. According the [https://docs.djangoproject.com/en/1.10/releases/1.10/#python- compatibility Documentation] those versions are compatible. Could you explain how to fix the bug without updating python to third version? Thank you in advance. -- Ticket URL: <https://code.djangoproject.com/ticket/28123#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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.820df6a5d22ae111adcc26d28abed3b1%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.