#54 Source URLs cannot include whitespaces
Closed: Invalid None Opened 12 years ago by cwickert.

I know that whitespaces in file names are a very bad idea, but they are out there and sometimes we need to build from them.

Imagine you have a SourceX that with a whitespace, e.g. "Concept Design.zip". The Source URL then becomes http://mypaintatelier.googlecode.com/files/Concept%20Design.zip

Works fine for rpmbuild and spectool. After downloading the file with spectool I uploaded it with 'fedpkg upload Concept%20Design.zip'. The URL of the file becomes http://pkgs.fedoraproject.org/repo/pkgs/mypaint/Concept%2520Design.zip/fdd6b6f028d1ce9240ea084403d15ec4/Concept%2520Design.zip instead of http://pkgs.fedoraproject.org/repo/pkgs/mypaint/Concept%20Design.zip/fdd6b6f028d1ce9240ea084403d15ec4/Concept%2520Design.zip

%20 becomes %2520 and therefor koji cannot download the package. Currently the only solution is to rename the file to something without whitespace.

If you want to reproduce this, use the files from http://pkgs.fedoraproject.org/gitweb/?p=mypaint.git;a=tree;h=310d6e36f2e70b4699b290165dc7e27391014b1f;hb=ee08b1bc5e2697696ca8a146910880a923b5f0da


Login to comment on this ticket.

Metadata