diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-10-24 16:18:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-24 16:18:50 -0400 |
commit | 07abea0707b734f4a1243d936e99412a748f3591 (patch) | |
tree | 6c5a3689728bebd21e61a9327cc9ae6c8e1664b7 /components/script/dom/bindings/codegen/parser/tests/test_union.py | |
parent | 08af89bd8205ac28c98b9a079216fca438a9ed66 (diff) | |
parent | c54df2b965ccfd2817d9f41fd98a7bd17017e7af (diff) | |
download | servo-07abea0707b734f4a1243d936e99412a748f3591.tar.gz servo-07abea0707b734f4a1243d936e99412a748f3591.zip |
Auto merge of #24531 - teapotd:referer-length-limit, r=nox
Limit the referer header's value length to 4096
If the referer header's value is a URL with a length of more than 4k, strip it down to an origin.
This change reflects [w3c/webappsec-referrer-policy#122](https://github.com/w3c/webappsec-referrer-policy/pull/122)
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #24515
- [X] There are tests for these changes
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/tests/test_union.py')
0 files changed, 0 insertions, 0 deletions