Bug#1110429: qa.debian.org: 404 Not found due to trailing slash breaks codesearch.d.o
Package: qa.debian.org
Severity: important
User: qa.debian.org@packages.debian.org
Usertags: debsources
X-Debbugs-Cc: tj.iam.tj@proton.me
Using codesearch.debian.net all results links to files are broken and
result in HTTP 404 errors from sources.debian.org due to the (new)
trailing slash suffix.
Commit 71297d80 appears to be due to the same issue but my brief code
inspection didn't identify why the trailing slash is now required.
I've also reported for dcs:
https://github.com/Debian/dcs/issues/127
Example:
https://codesearch.debian.net/search?q=hardware-in-the-loop&literal=1
https://codesearch.debian.net/show?file=crrcsim_0.9.13-3.2%2Fdocumentation%2Finput_method%2FMNAV%2Fautopilot.txt&line=77
resolves to:
https://sources.debian.org/src/crrcsim/0.9.13-3.2/documentation/input_method/MNAV/autopilot.txt?hl=77#L77
and results in a HTTP 404.
Whereas the new URL style with trailing slash requires:
https://sources.debian.org/src/crrcsim/0.9.13-3.2/documentation/input_method/MNAV/autopilot.txt/?hl=77#L77
Reply to: