#36488: RedirectView(query_string=True) produces double '?' when both
destination
URL and request have query parameters
-------------------------------+----------------------------------------
Reporter: Ethan Jucovy | Owner: Ethan Jucovy
Type: Bug | Status: assigned
Component: Generic views | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 1 | UI/UX: 0
-------------------------------+----------------------------------------
Comment (by umesh singh bisht):
Hi @EthanJucovy!
I'd love to take on this ticket as my first contribution to Django.
I've analyzed the problem in the get_redirect_url method and have a clean,
backward-compatible solution ready. The fix should be just changing the
hardcoded '?' separator to use '&' when the destination URL already
contains query parameters. Whats your thought about this.
--
Ticket URL: <https://code.djangoproject.com/ticket/36488#comment:5>
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 view this discussion visit
https://groups.google.com/d/msgid/django-updates/01070198ade13249-31d08c2b-353c-462b-8d25-07bafbbe381b-000000%40eu-central-1.amazonses.com.