diff options
author | Felipe Artur <felipefac@gmail.com> | 2018-09-05 16:41:59 -0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2018-09-22 12:15:53 -0300 |
commit | 1fcc7f9ba23a5ca02773e080ccb66f37435150ff (patch) | |
tree | 7da14469edc854dd004f38ba6a31ba89a689663e /app/views/errors | |
parent | 7dd8d37984efb93c58f0f56fe7394ff5d90fbe11 (diff) | |
download | gitlab-ce-1fcc7f9ba23a5ca02773e080ccb66f37435150ff.tar.gz |
Render 412 for invalid UTF-8 parametersfa-handle_invalid_utf8_errors
Renders 412 error page when invalid UTF-8 is passed
as parameters in controllers.
Diffstat (limited to 'app/views/errors')
-rw-r--r-- | app/views/errors/precondition_failed.html.haml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/errors/precondition_failed.html.haml b/app/views/errors/precondition_failed.html.haml new file mode 100644 index 00000000000..aa3869f33a9 --- /dev/null +++ b/app/views/errors/precondition_failed.html.haml @@ -0,0 +1,8 @@ +- content_for(:title, 'Encoding Error') +%img{ :alt => "GitLab Logo", :src => image_path('logo.svg') } + %h1 + 412 +.container + %h3 Precondition failed + %hr + %p Page can't be loaded because of invalid parameters. |