Merge branch 'stanhu/gitlab-ce-add-svg-support' into 'master'
Render sanitized SVG images
Originally opened at !637 by @stanhu.
Closes https://github.com/gitlabhq/gitlabhq/issues/9265
![Screen_Shot_2016-02-01_at_17.04.01](/uploads/8e5de906698493e127dcdc475da9aaef/Screen_Shot_2016-02-01_at_17.04.01.png)
See merge request !2667
Showing
... | ... | @@ -179,6 +179,9 @@ gem "underscore-rails", "~> 1.8.0" |
gem "sanitize", '~> 2.0' | ||
gem 'babosa', '~> 1.0.2' | ||
# Sanitizes SVG input | ||
gem "loofah", "~> 2.0.3" | ||
# Protect against bruteforcing | ||
gem "rack-attack", '~> 4.3.1' | ||
... | ... |
spec/fixtures/logo_sample.svg
0 → 100644
Please
register
or
sign in
to comment