Test suite detail endpoint returns 404 for url containing a /
Summary
Test suite detail endpoint returns a 404
when the url contain a /
.
Bad URL | Good URL |
---|---|
rspec system pg/24.json | rspec system pg.json |
Steps to reproduce
- Visit the pipeline page
- Click on the test tab
- Click any test suite containing a
/
in the name
Example Project
The feature is currently behind a feature flag on gitlab.com
.
You can see the bug on this example pipeline.
What is the current bug behavior?
The endpoint returns a 404
response.
What is the expected correct behavior?
The endpoint returns a 200
response.
Relevant logs and/or screenshots
Possible fixes
We could strip out the last part of the URL and remove everything after the /
.
Edited by Max Orefice