Merge branch 'master' of git://git.madduck.net/code/ikiwiki

master
Joey Hess 2008-02-29 22:47:26 -05:00
commit 279db7860d
1 changed files with 1 additions and 1 deletions

View File

@ -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 (@) { #{{{