diff options
author | Dmitry Medvinsky <me@dmedvinsky.name> | 2014-03-19 17:32:38 +0400 |
---|---|---|
committer | Dmitry Medvinsky <me@dmedvinsky.name> | 2014-03-20 19:09:14 +0400 |
commit | fefab474569f231676a4fd1579a70723d729f206 (patch) | |
tree | 0ab647700df2999e609e6e3195dd91ad79ec2caa /app/helpers/search_helper.rb | |
parent | c0090a3ff50802d796ec36f49ade1bb4fdd4d190 (diff) | |
download | gitlab-ce-fefab474569f231676a4fd1579a70723d729f206.tar.gz |
Fix `/:username.keys` response content type
Currently this method responds with `text/html`. It is kind of unusable
if you open it in a browser. The browser thinks it is HTML and renders
it as HTML, meaning new lines are dropped. So it's very hard to
distinguish where the key starts and where it ends.
This commit changes the content type header to `text/plain`.
Diffstat (limited to 'app/helpers/search_helper.rb')
0 files changed, 0 insertions, 0 deletions