Fix double-escaping of path segments on 1.6.1+
Compare changes
+ 6
− 1
@@ -192,13 +192,18 @@ def do_dput(self, subcmd, opts, *args):
As of:
https://github.com/openSUSE/osc/commit/3f14cef53a853296d7f60bf7b14eb86615842cf9
osc.core.makeurl
will escape path comonents itself, so calling
pathname2url
ends up double-escaping, resulting in 404 errors with
filenames that have special characters.
Signed-off-by: Ryan Gonzalez ryan.gonzalez@collabora.com