summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>2025-02-07 13:46:49 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-02-11 21:18:39 +0000
commit2b71696f35eca128857e09b0a40d9e39992b1c2d (patch)
tree2138170fb628fb57a908e8a13f6ef8de20279929 /bitbake/lib
parent33cfb14214dd7b026939d8249cb9a9b7ed08cd03 (diff)
downloadpoky-2b71696f35eca128857e09b0a40d9e39992b1c2d.tar.gz
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>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index de36f06bfc..ab992b7ea7 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -371,6 +371,9 @@ def decodeurl(url):
371 elif type.lower() == 'file': 371 elif type.lower() == 'file':
372 host = "" 372 host = ""
373 path = location 373 path = location
374 if user:
375 path = user + '@' + path
376 user = ""
374 else: 377 else:
375 host = location 378 host = location
376 path = "/" 379 path = "/"