projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2ff9f4
)
Do not allow the about: URI scheme
author
Joey Hess
<joey@kodama.kitenet.net>
Sun, 10 Feb 2008 23:28:41 +0000
(18:28 -0500)
committer
Joey 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
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/htmlscrubber.pm
b/IkiWiki/Plugin/htmlscrubber.pm
index f28f0816ffa6552c9441d6987bcbca99204f4499..a8a37eafa6f16570a8bcf2f5dfa7b9be2c3fd333 100644
(file)
--- a/
IkiWiki/Plugin/htmlscrubber.pm
+++ b/
IkiWiki/Plugin/htmlscrubber.pm
@@
-24,7
+24,7
@@
sub import { #{{{
"sip", "sips", "snmp", "tel", "urn", "wais", "xmpp",
"z39.50r", "z39.50s",
# Selected unofficial schemes
- "a
bout", "a
im", "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",