diff options
Diffstat (limited to 'bleach/tests/test_security.py')
-rw-r--r-- | bleach/tests/test_security.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bleach/tests/test_security.py b/bleach/tests/test_security.py index 9e9bb7b..6c2b33f 100644 --- a/bleach/tests/test_security.py +++ b/bleach/tests/test_security.py @@ -106,3 +106,7 @@ def test_poster_attribute(): eq_(expect, clean(test, tags=tags, attributes=attrs)) ok = '<video poster="/foo.png"></video>' eq_(ok, clean(ok, tags=tags, attributes=attrs)) + + +def test_feed_protocol(): + eq_('<a>foo</a>', clean('<a href="feed:file:///tmp/foo">foo</a>')) |