Filenames containing special characters renamed to HTML encoded variant
ppavacic opened this issue · 4 comments
For example, file named helloworld#1.jpg in perforce is renamed to helloworld%231.jpg in git.
File named helloworld%1.png in perforce is renamed to helloworld%251.png.
# = %23
% = %25
I assume that somewhere where files is being requested you simply use end of url as file name
I assume that somewhere where files is being requested you simply use end of url as file name
We do take the file name that we get back as is, but apparently there is some HTML encoding taking place which shouldn't actually be there.
I can patch it, got any pointers where to look?
@twarit-waikar not sure which url-decode library should I add? Do you have any suggestions?
perhaps this one: https://github.com/cpp-netlib/url, fork of: https://github.com/cpp-netlib/uri