gitlab-org--gitlab-foss/app
Yorick Peterse 8171544b3d
Limit the size of SVGs when viewing them as blobs
This ensures that SVGs greater than 2 megabytes are not scrubbed and
rendered. This in turn prevents requests from timing out due to
reading/scrubbing large SVGs potentially taking a lot of time (and
memory). The use of 2 megabytes is completely arbitrary.

Fixes gitlab-org/gitlab-ce#1435
2016-08-15 13:42:52 +02:00
..
assets Merge branch '20059-environment-list' into 'master' 2016-08-12 17:00:16 +00:00
controllers Fix bug where destroying a namespace would not always destroy projects 2016-08-11 15:36:35 -07:00
finders State specific default sort order for issuables 2016-08-01 11:28:56 +02:00
helpers Merge branch '20059-environment-list' into 'master' 2016-08-12 17:00:16 +00:00
mailers Allow build email service to be tested 2016-07-15 20:38:27 -03:00
models Limit the size of SVGs when viewing them as blobs 2016-08-15 13:42:52 +02:00
services Don't show new MR URL after push when it doesn't make sense 2016-08-12 17:51:54 -05:00
uploaders Remove magic comments from Ruby files (!5456) 2016-07-24 07:08:45 +02:00
validators
views Limit the size of SVGs when viewing them as blobs 2016-08-15 13:42:52 +02:00
workers Fix bug where destroying a namespace would not always destroy projects 2016-08-11 15:36:35 -07:00