-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Drop HTML line breaks on long headers in browsable API #9438
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
Conversation
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.
there was some merge conflicts, so I tried to fix them
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.
may be we need to remove related tests as well?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This probably shouldn't have been in a patch level release (78e9707 is in 3.16.1, but not in 3.16.0) because customized DRF templates broke as the filter is no longer a thing. (Or, at least, the release notes for 3.16.1 should note it as a possibly breaking change, not as a bug fix.) |
Reverts #777
We don't really need to add line breaks
<br>
in the browsable API on long headers. They render fine in the browser as-is.Superseeds fix in #9435 dealing with possible XSS against the browsable API.