summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/git.py
diff options
context:
space:
mode:
authorKasper Revsbech <kasper.revsbech.ext@siemensgamesa.com>2022-11-29 14:22:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-09 13:22:11 +0000
commit89ccf603d8119c34f5398dbd737e6a0b805234d3 (patch)
treedea142c409fa3c189dbcd447dfe2efa58bc87542 /bitbake/lib/bb/fetch2/git.py
parenta9505a86fdcd789093732b800ba08e7a23c21070 (diff)
downloadpoky-89ccf603d8119c34f5398dbd737e6a0b805234d3.tar.gz
bitbake: fetch2/wget: handle username/password in uri
In checkstatus() opener.open() is used to check if an artifact is available. The check fails if the uri contains username password in the format: "username:password@hostname..". Moreover, the checkstatus function already uses the username from the "ud" object to craft a header, is username and password is provided. This fix ensure the uri in the Requests object used does not contain username as password. (Bitbake rev: 88350002d45e0aa85ecd5356da2c8d71e450641e) Signed-off-by: Kasper Revsbech <kasper.revsbech.ext@siemensgamesa.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
0 files changed, 0 insertions, 0 deletions