]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Add a whitelist of protocols for URLs 880/head
authorArthurHoaro <arthur@hoa.ro>
Thu, 25 May 2017 12:52:42 +0000 (14:52 +0200)
committerArthurHoaro <arthur@hoa.ro>
Thu, 25 May 2017 12:58:34 +0000 (14:58 +0200)
commit86ceea054f5f85157b04473bac5bfb6ff86ca31f
treee8216f2f36952818427e633b641a54a6ff26379a
parent61c15aa5554431893ea5ebe800a9a625dca5aff9
Add a whitelist of protocols for URLs

 - for Shaare
 - for markdown description links and images

Not whitelisted protocols will be replaced by `http://`
application/Url.php
application/config/ConfigManager.php
index.php
plugins/markdown/markdown.php
tests/Url/WhitelistProtocolsTest.php [new file with mode: 0644]
tests/plugins/PluginMarkdownTest.php
tests/plugins/resources/markdown.html
tests/plugins/resources/markdown.md