Files
gitlabhq/lib/gitlab
Douwe Maan 329e067ff1 Merge branch 'rs-dev-issue-2613' into 'master'
Add custom protocol whitelisting to SanitizationFilter

Addresses internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2613

We allow any protocol for autolinks: irc://irc.freenode.net/git

But manual Markdown links with the same protocol get sanitized: `[This will not be clickable](irc://irc.freenode.net/git)`: [This will not be clickable](irc://irc.freenode.net/git)

To get around this we have to first allow *all* protocols, and then manually clean dangerous (i.e., `javascript:`) protocols.

See merge request !1496
2015-11-02 10:49:46 +00:00
..
2015-10-29 14:21:24 +01:00
2015-10-03 01:29:58 -05:00
2014-09-29 12:05:17 +03:00
2015-10-08 14:59:46 -05:00
2015-09-09 11:40:31 +01:00
2014-10-06 00:14:46 +02:00
2015-02-24 15:07:24 +01:00
2015-10-22 10:18:44 +02:00
2015-05-13 09:46:22 +02:00
2014-10-06 00:14:46 +02:00
2014-11-06 13:07:42 +02:00
2015-09-08 20:23:01 -04:00
2014-10-31 17:22:16 -07:00
2015-04-14 15:58:28 +02:00
2014-10-06 00:14:46 +02:00
2015-03-24 18:35:57 -07:00
2014-10-06 00:14:46 +02:00
2015-08-24 13:59:01 +03:00
2014-10-06 00:14:46 +02:00
2015-08-26 11:30:38 -07:00
2015-05-23 13:11:23 +03:00
2013-06-06 10:10:51 +09:00
2015-07-06 17:40:33 +03:00