| Summary: | URL Arguments in MIRROR/PREMIRROR get encoded | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BitBake | Reporter: | Jahn <yoctoproject.bugzilla> |
| Component: | bitbake | Assignee: | Jahn <yoctoproject.bugzilla> |
| Status: | RESOLVED OBSOLETE | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | mark.asselstine, poky.bs.watcher, poky.watcher, randy.macleod, tgamblin, Vikkram.Ravi |
| Version: | 3.1.2 | ||
| Target Milestone: | 5.99 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Jahn
2020-08-19 05:48:07 UTC
Bulk move of 64 bugs to 4.3 M3 after a quick review. If a bug is actually fixed, please add a commit link and resolve it. -- Randy for YP bug team. Moved to M4. Bulk move to 5.0 M1. -- Randy Jahn, do you know of a publicly available example that I could use to attempt to reproduce and review this issue? It appears that the code does map with your assertion that the URL is encoded. dodwnload()->try_mirrors()->build_mirroruris()->uri_replace() which does a decode to complete the find and replace of the URL ends with a call to encodeurl() which encodes just the "path" component of the URL with a call to urllib.parse.quote(path). The interesting bit is that wget will work just fine with an encoded URL, per the manual "You can encode unsafe characters in a URL as ‘%xy’, xy being the hexadecimal representation of the character’s ASCII value. Some common unsafe characters include ‘%’ (quoted as ‘%25’), ‘:’ (quoted as ‘%3A’), and ‘@’ (quoted as ‘%40’). Refer to RFC1738 for a comprehensive list of unsafe characters." - https://www.gnu.org/software/wget/manual/wget.html which is why I ask about a reproducer. Jahn, are you able to share a reproducer as Mark requested? Moving to 5.99 (near term release but not 5.0) since we don't have a reproducer. No repsponse for a few years so closing. We'd consider the bug again if we can get a reproducer. |