git.launchpad.net cannot display files with spaces

Bug #2023968 reported by Heinrich Schuchardt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
turnip
Triaged
Low
Unassigned

Bug Description

https://git.launchpad.net/ubuntu-manual-tests/tree/testcases/image contains many files where the filename contains spaces. When clicking on a link spaces are correctly url encodes as %20 but the file is not displayed.

Example:

https://git.launchpad.net/ubuntu-manual-tests/tree/testcases/image/1756_Install%20LicheeRV
does not show the content but an error message "Path not found".

https://git.launchpad.net/ubuntu-manual-tests/tree/testcases/image/1699_Install_UEFI
does not have any spaces and is displayed as expected.

Best regards

Heinrich

Revision history for this message
Colin Watson (cjwatson) wrote :

Not sure whether this is an issue in cgit itself or whether it's something to do with the way that turnip is calling it (it's conceivable that `CGitScriptResource.runProcess` needs to re-escape something for cgit, I suppose?).

affects: launchpad → turnip
Guruprasad (lgp171188)
Changed in turnip:
status: New → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.