diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2016-10-11 18:13:42 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2016-10-11 18:13:42 +0000 |
commit | 3d253e5cb3b9ccfe88ef97607399ff6fa7b7a48d (patch) | |
tree | 480e91db3c3b8c5d6d12df223a30a5ba7f1552b3 /lib/api | |
parent | d57d892e3fd4d73a477ba5c1b0049864f7c9e6b2 (diff) | |
parent | d0c240b64fbb5f723a630fe96af380a9c82fd1b1 (diff) | |
download | gitlab-ce-3d253e5cb3b9ccfe88ef97607399ff6fa7b7a48d.tar.gz |
Merge branch '22211-500-instead-of-404' into 'master'
Respond with 404 Not Found for non-existent tags
## What does this MR do?
Handles the case when a non-existent tag is being viewed, and responds with 404 Not Found instead of 500 Internal Server Error.
## Are there points in the code the reviewer needs to double check?
The small changes should be clear from a simple diff.
## Why was this MR needed?
To resolve the issue #22211.
## Screenshots (if relevant)
## Does this MR meet the acceptance criteria?
- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [ ] API support added
- Tests
- [x] Added for this feature/bug
- [x] All builds are passing
- [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)
## What are the relevant issue numbers?
Closes #22211
See merge request !6699
Diffstat (limited to 'lib/api')
0 files changed, 0 insertions, 0 deletions