We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0aee4d0 commit 7af4b51Copy full SHA for 7af4b51
tests/test_clean.py
@@ -321,7 +321,7 @@ def test_host_whitelist_slash_type_confusion(self):
321
# creates a host_whitelist of the empty string; a malformed triple-slash
322
# URL has an "empty host" according to urlsplit, and `"" in ""` passes.
323
# So, don't allow user to accidentally pass a string for host_whitelist.
324
- html = '<div><iframe src="https:///evil.com/page"></iframe></div>'
+ html = '<div><iframe src="https:///evil.com/page"></div>'
325
with self.assertRaises(TypeError) as exc:
326
# If this were the intended `("example.com",)` the expected
327
# output would be '<div></div>'
0 commit comments