diff options
author | blackst0ne <blackst0ne.ru@gmail.com> | 2018-06-16 21:46:31 +1100 |
---|---|---|
committer | blackst0ne <blackst0ne.ru@gmail.com> | 2018-06-16 21:46:31 +1100 |
commit | c48e7dc2633f8ee8f38150b050938f43e75bd207 (patch) | |
tree | e8fab96b29cfd93f46e0d575436329478e8c7cce /changelogs | |
parent | f733d4f8979a7570a9347186dbe0f8c663c2ff4f (diff) | |
download | gitlab-ce-c48e7dc2633f8ee8f38150b050938f43e75bd207.tar.gz |
[Rails5] Set request.format for artifacts_controllerblackst0ne-rails5-expected-the-response-to-have-status-code-ok-but-it-was-404
Since Rails 5 request.format gets set by extension if it's not explicitly
set.
That means artifacts_controller#file no longer works as expected.
This commit explicitly sets request.format for artifacts_controller#file.
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/blackst0ne-rails5-expected-the-response-to-have-status-code-ok-but-it-was-404.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/blackst0ne-rails5-expected-the-response-to-have-status-code-ok-but-it-was-404.yml b/changelogs/unreleased/blackst0ne-rails5-expected-the-response-to-have-status-code-ok-but-it-was-404.yml new file mode 100644 index 00000000000..fad15de2dd5 --- /dev/null +++ b/changelogs/unreleased/blackst0ne-rails5-expected-the-response-to-have-status-code-ok-but-it-was-404.yml @@ -0,0 +1,5 @@ +--- +title: "[Rails5] Set request.format for artifacts_controller" +merge_request: 19937 +author: "@blackst0ne" +type: fixed |