Stan Hu
4ac4ba2654
Fix requests profiler in admin page not rendering HTML properly
...
By default in Rails 5, content passed to `render` will be
escaped. This doesn't work for the HTML profile output, which
should be considered safe HTML already.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56152
2019-01-09 23:09:43 -08:00
Jasper Maes
1bb4ad9262
Fix deprecation: render :text is deprecated because it does not actually render a text/plain response
2018-11-29 08:05:13 +01:00
gfyoung
73322a0e55
Enable frozen string in app/controllers/**/*.rb
...
Enables frozen string for the following:
* app/controllers/*.rb
* app/controllers/admin/**/*.rb
* app/controllers/boards/**/*.rb
* app/controllers/ci/**/*.rb
* app/controllers/concerns/**/*.rb
Partially addresses #47424 .
2018-09-18 21:22:45 -07:00
Ahmad Sherif
345cd22f21
Profile requests when a header is passed
2016-07-26 20:06:09 +02:00