bitbake: fetch2: do not decode user from file URI

A file URI can't contain a user. Do not treat the @ as reserved
character for a file URI.

(Bitbake rev: 11cf4062f48536547a352e24d6e963d91fdd1190)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Stefan Herbrechtsmeier authored and Richard Purdie committed 2025-02-11 21:18:39 +00:00
1 parent 33cfb14214
commit 2b71696f35
1 file changed
+3
+3
View File
@@ -371,6 +371,9 @@ def decodeurl(url):
elif type.lower() == 'file':
host = ""
path = location
if user:
path = user + '@' + path
user = ""
else:
host = location
path = "/"