]> source.dussan.org Git - redmine.git/commit
Relax allowed protocols in links by denying specific protocols for CommonMark text...
authorMarius Balteanu <marius.balteanu@zitec.com>
Wed, 11 Aug 2021 21:49:27 +0000 (21:49 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Wed, 11 Aug 2021 21:49:27 +0000 (21:49 +0000)
commite8c911577fe09b83793f7ffc95123642ab07668d
treeeed2696ff6d6b27c09e1ebac84418acad96216a6
parent46ecdcec4d3d6cec4825221a1cd0e1646e7a5792
Relax allowed protocols in links by denying specific protocols for CommonMark text formatting (#32424).

Patch by Martin Cizek.

git-svn-id: http://svn.redmine.org/redmine/trunk@21161 e93f8b46-1217-0410-a6f0-8f06a7374b81
lib/redmine/helpers/url.rb
lib/redmine/wiki_formatting/common_mark/sanitization_filter.rb
test/unit/lib/redmine/helpers/url_test.rb
test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb