Bug 13823 - fetch2: PREMIRROR and SRC_URI with users on both url yields invalid username
Summary: fetch2: PREMIRROR and SRC_URI with users on both url yields invalid username
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 4.0 M1
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2020-03-03 00:07 UTC by Riccardo Cusatelli
Modified: 2021-11-03 12:11 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Riccardo Cusatelli 2020-03-03 00:07:05 UTC
If both SRC_URI and PREMIRRORS have a username on path, with @, the resulting user is the append.

Ex:
SRC_URI = git://userA@ssh.mygitserver.com/repo 
PREMIRROR = ftp://userB:pass@ftp.myftpserver.com/

The resulting access to PREMIRROR ftp is:
ftp://userAuserB:pass@ftp.myftpserver.com