gitlab-org--gitlab-foss/spec/lib
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
..
ci Require jobs to be named 2015-10-22 10:39:00 +02:00
gitlab Merge branch 'rs-dev-issue-2613' into 'master' 2015-11-02 10:49:46 +00:00
disable_email_interceptor_spec.rb Fix Style/Blocks cop violations 2015-06-22 16:00:54 -04:00
extracts_path_spec.rb Groundwork for merging CI into CE 2015-08-25 18:42:46 -07:00
file_size_validator_spec.rb Fix Style/IndentationWidth cop violations 2015-06-22 22:25:40 -07:00
git_ref_validator_spec.rb Updated rspec to rspec 3.x syntax 2015-02-12 19:17:35 +01:00
repository_cache_spec.rb Remove unnecessary require from RepositoryCache spec 2015-06-04 11:40:43 -04:00
votes_spec.rb Fix Style/AlignHash cop violations 2015-06-22 22:24:39 -07:00