Do not allow the about: URI scheme
authorJoey Hess <joey@kodama.kitenet.net>
Sun, 10 Feb 2008 23:28:41 +0000 (18:28 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Sun, 10 Feb 2008 23:28:41 +0000 (18:28 -0500)
Some browsers interpret about: URIs like a limited version of data:
URIs.  In particular, some versions of Internet Explorer interpret
arbitrary HTML content in about: URIs.

IkiWiki/Plugin/htmlscrubber.pm

index f28f0816ffa6552c9441d6987bcbca99204f4499..a8a37eafa6f16570a8bcf2f5dfa7b9be2c3fd333 100644 (file)
@@ -24,7 +24,7 @@ sub import { #{{{
                "sip", "sips", "snmp", "tel", "urn", "wais", "xmpp",
                "z39.50r", "z39.50s",
                # Selected unofficial schemes
-               "about", "aim", "callto", "cvs", "ed2k", "feed", "fish", "gg",
+               "aim", "callto", "cvs", "ed2k", "feed", "fish", "gg",
                "irc", "ircs", "lastfm", "ldaps", "magnet", "mms",
                "msnim", "notes", "rsync", "secondlife", "skype", "ssh",
                "sftp", "sms", "steam", "webcal", "ymsgr",