summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-02-29 22:47:26 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-02-29 22:47:26 -0500
commit279db7860dc98bedbd8333bb7de57251dcfb223d (patch)
treee5259da4094edd66487d6a47c16f97912d7bb9db /IkiWiki
parenteb13d46e212d893a68a6a3739a421e3e24ed7c1b (diff)
parentbe0b4f603f918444b906e42825908ddac78b7073 (diff)
Merge branch 'master' of git://git.madduck.net/code/ikiwiki
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/htmlscrubber.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/htmlscrubber.pm b/IkiWiki/Plugin/htmlscrubber.pm
index 7ce07ee9a..3bdaccea1 100644
--- a/IkiWiki/Plugin/htmlscrubber.pm
+++ b/IkiWiki/Plugin/htmlscrubber.pm
@@ -31,7 +31,7 @@ sub import { #{{{
);
# data is a special case. Allow data:image/*, but
# disallow data:text/javascript and everything else.
- $safe_url_regexp=qr/^(?:(?:$uri_schemes):|data:image\/|[^:]+$)/i;
+ $safe_url_regexp=qr/^(?:(?:$uri_schemes):|data:image\/|[^:]+(?:$|\/))/i;
} # }}}
sub sanitize (@) { #{{{