| Summary: | Urlgrabber.mirror._join_url() can not handle http get requests in base_url | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Philipp Joos <joos> |
| Component: | python-urlgrabber | Assignee: | Valentina Mukhamedzhanova <vmukhame> |
| Status: | CLOSED WONTFIX | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.9 | CC: | bnater, hlawatschek, joos, mdomonko, packaging-team-maint |
| Target Milestone: | rc | Flags: | mdomonko:
needinfo?
(joos) |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-12-06 11:02:24 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Philipp Joos
2016-03-17 15:05:48 UTC
Hello Philipp, (In reply to Philipp Joos from comment #0) > _join_url does not work as intended. Could you please elaborate on this ^^^? Also, what's your motivation for having _join_url() behave this way? Thanks! Hello Michal,
> Could you please elaborate on this ^^^?
> Also, what's your motivation for having _join_url() behave this way?
As stated in the bug report, the position of the GET variables when joined using '_join_url()' is wrong.
This results in wrong HTTP requests etc.
(In reply to Philipp Joos from comment #3) > Hello Michal, > > > Could you please elaborate on this ^^^? > > Also, what's your motivation for having _join_url() behave this way? > > As stated in the bug report, the position of the GET variables when joined > using '_join_url()' is wrong. > > This results in wrong HTTP requests etc. Hey Philipp, Thanks for the response. My concern is that the behavior of _join_url() you're requesting doesn't really seem to be justified by anything other than your specific use case (for which I can imagine it makes a lot of sense). Note that _join_url() doesn't follow RFC 2396 for constructing absolute URIs from a base and relative URI. However, even if it did (much like urlparse.urljoin()), the correct result of joining "https://myMirror/update?TOKEN" and "repodata/repomd.xml" would rather be: "https://myMirror/repodata/repomd.xml". Please let me know if I understand you correctly. In other words, it sounds like an RFE to me, rather than a bug. Is that correct? Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available. The official life cycle policy can be reviewed here: http://redhat.com/rhel/lifecycle This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL: https://access.redhat.com/ |