mirror of
git://git.yoctoproject.org/poky
synced 2026-08-12 02:25:02 +00:00
bitbake: Fix wget fetcher to better handle urls with ; followed by parameters in the url
This commit is contained in:
parent
fa89b73e25
commit
3ec9a7de2a
@ -66,7 +66,7 @@ class Wget(Fetch):
|
||||
uri_host = uri_decoded[1]
|
||||
|
||||
bb.msg.note(1, bb.msg.domain.Fetcher, "fetch " + uri)
|
||||
fetchcmd = fetchcmd.replace("${URI}", uri)
|
||||
fetchcmd = fetchcmd.replace("${URI}", uri.split(";")[0])
|
||||
fetchcmd = fetchcmd.replace("${FILE}", ud.basename)
|
||||
httpproxy = None
|
||||
ftpproxy = None
|
||||
|
||||
@ -66,7 +66,7 @@ class Wget(Fetch):
|
||||
uri_host = uri_decoded[1]
|
||||
|
||||
bb.msg.note(1, bb.msg.domain.Fetcher, "fetch " + uri)
|
||||
fetchcmd = fetchcmd.replace("${URI}", uri)
|
||||
fetchcmd = fetchcmd.replace("${URI}", uri.split(";")[0])
|
||||
fetchcmd = fetchcmd.replace("${FILE}", ud.basename)
|
||||
httpproxy = None
|
||||
ftpproxy = None
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user