-
Notifications
You must be signed in to change notification settings - Fork 10.8k
FormRequest.formdata with GET method duplicates same key in query string #2919
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yes, this looks like a bug. |
Hopefully that works for you. First time making a PR, so please excuse any errors. I would like some advice on how to build a good unit test for this, as I will admit, my testing experience is not great. |
anyone working on this? |
I’m not sure this should be considered a bug. Specially after giving some thought to #4730. Maybe we should simply raise a |
[MRG+1] Issue #2919: Fix FormRequest.formdata with GET method duplicates same key in query string
Fixed by #3579 |
Notice how
id
is being duplicated in query string. It must replace the value if same key is found. I believe this can be handled in form.py#L36.The text was updated successfully, but these errors were encountered: