diff options
author | Joey Hess <joey@kitenet.net> | 2013-01-05 17:24:40 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-01-05 17:25:47 -0400 |
commit | 7173ef1b1315196903c7d05d664688cd65d324a0 (patch) | |
tree | df6278dca197c14eca7ff46a6eb97a876b1e39c8 /IkiWiki | |
parent | 020b97577a88b0c023b256d6d2ea7db6d44289d4 (diff) | |
download | ikiwiki-7173ef1b1315196903c7d05d664688cd65d324a0.tar ikiwiki-7173ef1b1315196903c7d05d664688cd65d324a0.tar.gz |
htmlscrubber: Allow the URI schemes of major VCS's.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/htmlscrubber.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/htmlscrubber.pm b/IkiWiki/Plugin/htmlscrubber.pm index b22d3aa9e..36c012c73 100644 --- a/IkiWiki/Plugin/htmlscrubber.pm +++ b/IkiWiki/Plugin/htmlscrubber.pm @@ -28,7 +28,8 @@ sub import { "aim", "callto", "cvs", "ed2k", "feed", "fish", "gg", "irc", "ircs", "lastfm", "ldaps", "magnet", "mms", "msnim", "notes", "rsync", "secondlife", "skype", "ssh", - "sftp", "smb", "sms", "snews", "webcal", "ymsgr", "bitcoin" + "sftp", "smb", "sms", "snews", "webcal", "ymsgr", + "bitcoin", "git", "svn", "bzr", "darcs", "hg" ); # data is a special case. Allow a few data:image/ types, # but disallow data:text/javascript and everything else. |