Marin Jankovski
6245be083d
All for you rubocop.
2015-12-08 14:00:15 +01:00
Marin Jankovski
ea5b462a14
Stub the calls to disk and check what send_file returns.
2015-12-08 13:33:12 +01:00
Marin Jankovski
9bf51ae47d
Fix specs caused by update of gitlab-test repo.
2015-12-08 10:58:15 +01:00
Marin Jankovski
e53b350cb6
Add specs for showing lfs object in UI.
2015-12-07 15:03:50 +01:00
pilsner
4144c59941
add Content-Type header of raw image file
...
Add Content-Type header to fix a bug which IE can't show image in
markdown when the image is from raw.
modified: CHANGELOG
modified: app/controllers/projects/raw_controller.rb
modified: spec/controllers/projects/raw_controller_spec.rb
2015-09-04 13:06:02 +09:00
Stan Hu
551157960e
Remove the filename argument from Content-Disposition header to avoid
...
RFC 5987 and RFC 6266 encoding issues. This change allows the browser
to determine the filename based on the URL.
See: http://greenbytes.de/tech/tc2231/
Closes https://github.com/gitlabhq/gitlabhq/issues/9595
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/1829
2015-09-02 00:20:05 -07:00