-
-
Notifications
You must be signed in to change notification settings - Fork 33.3k
Fixed #36767 -- Allowed max redirect URL length to be set on HttpResponseRedirect. #20273
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
base: main
Are you sure you want to change the base?
Conversation
3d80d51 to
090533c
Compare
jacobtylerwalls
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This will be backported to prior versions. Can you add a release note for 5.2.9.txt? A merger can then copy this to the other versions that will be backported.
090533c to
7382b08
Compare
99c97df to
1b91137
Compare
1b91137 to
e619702
Compare
|
Merged in #20331, thanks! |
I only merged the first commit, the second one would need some work still. I'm reopening on that basis, I can rebased onto main to show the pending work. |
…mit overridable. This change allows overrides for the redirect URL max length used in HttpResponseRedirectBase and children via an optional max_length instance creation parameter. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Trac ticket number
ticket-36767
Branch description
This PR fixes a issue where HttpResponseRedirect and HttpResponsePermanentRedirect enforced a strict 2048-character limit on URLs. The limit is now increased to 16384.
Checklist
mainbranch.