There are cases where special characters need to be used in SRC_URI entries. A simple example is mount systemd services. A file like this which would mount /test-test would need to be named "test\x2dtest". For more examples check systemd-escape. Additional info: http://www.freedesktop.org/software/systemd/man/systemd.mount.html Adding a file like this in SRC_URI makes the fetcher fail.
What escaping did you try, backslash or URI escaping? eg "test%5Cx2dtest"
Backslash. SRC_URI += "test\\x2dtest.mount"
Did you try URI escaping as this is a URI?
Hi, (In reply to comment #3) > Did you try URI escaping as this is a URI? I tried escaping it with URI escape sequence too: "%5C". Fails at unpack. Andrei
The issue at hand is fixed by https://lists.openembedded.org/g/bitbake-devel/topic/patch_fetch2_fix_handling/77034959?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,77034959
That was fixed as linked above.
http://git.openembedded.org/bitbake/commit/?id=aa857fa2e9cf3b0e43a9049b04ec4b0b3c779b11
Re-opened by accident when adding the actual commit link.