From a7be7bdf56b60a08a7ae23a17e20d2bad4cc2971 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Sun, 10 Feb 2008 13:23:28 -0800 Subject: [PATCH] Do not allow the about: URI scheme 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 | 2 +- debian/changelog | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/IkiWiki/Plugin/htmlscrubber.pm b/IkiWiki/Plugin/htmlscrubber.pm index 634674b9c..e02a8591e 100644 --- a/IkiWiki/Plugin/htmlscrubber.pm +++ b/IkiWiki/Plugin/htmlscrubber.pm @@ -30,7 +30,7 @@ sub scrubber { #{{{ "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", diff --git a/debian/changelog b/debian/changelog index dc55cdd88..765cdb9e0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,8 +6,12 @@ ikiwiki (2.40) UNRELEASED; urgency=low optional '!' prefix even with prefix_directives off, and use that in the underlay to support either setting of prefix_directives. Add NEWS entry with migration information. + * Do not allow the about: URI scheme; 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. - -- Josh Triplett Sat, 09 Feb 2008 23:01:19 -0800 + -- Josh Triplett Sun, 10 Feb 2008 13:18:58 -0800 ikiwiki (2.31.2) unstable; urgency=high -- 2.26.2