We have a recipe that is downloading files from a password protected http server. We ask our users to put SRC_URI_pn-NAME = "https://USER:PASS@url" into the local.conf. This is broken with the current wget fetcher. It seems that it expects that ud.user contains "USER:PASS" and is then doing a string split (which it should limit to 1). But the password is actually already inside the ud.pswd variable. Something like this (incomplete as there are more usages of ud.user) could fix it: - if ud.user: - up = ud.user.split(":") - fetchcmd += " --user=%s --password=%s --auth-no-challenge" % (up[0],up[1]) + if ud.user and ud.pswd: + fetchcmd += " --user=%s --password=%s --auth-no-challenge" % (ud.user, ud.pswd)
I took a look at the other usages and I think its correct elsewhere, it was just this case that was broken. I've sent out the patch and queued it, thanks.
Fixed with http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=f46846dc118a3132eee5aeddb43570b8343afc0a, thanks zecke!