﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36488	RedirectView(query_string=True) produces double '?' when both destination URL and request have query parameters	Ethan Jucovy	Samriddha Kumar Tripathi	"When using the generic `RedirectView(query_string=True)` with a query string in the destination URL, the view always appends query string parameters from the incoming request with a `?` separator. It should use `&` if there's also an existing query string in the incoming URL. 

Currently, requests that come in with a query string end up redirected to a URL containing two question marks, e.g.:

{{{
path(""redirect-me/"", RedirectView.as_view(url=""/destination/?pork=spam"", query_string=True))
}}}

{{{
GET /redirect-me/?utm_source=foo
}}}

Currently results in:
{{{
Location: /destination/?pork=spam?utm_source=foo
}}}

Expected:
{{{
Location: /destination/?pork=spam&utm_source=foo
}}}"	Bug	closed	Generic views	5.2	Normal	fixed			Ready for checkin	1	0	0	0	1	0
