Skip to content

Conversation

@rohanpm
Copy link
Contributor

@rohanpm rohanpm commented Jun 1, 2021

Due to incorrect usage of os.path.join, if errata source was used
with a URL having a path component such as
https://errata.example.com/path, the hostname portion would be lost
and we'd try to construct an XML-RPC client with
"/path/errata/errata_service" as the URL.

Fix that by using os.path.join only on the needed components (we
don't need it when joining the parsed URL netloc and path back
together).

Due to incorrect usage of os.path.join, if errata source was used
with a URL having a path component such as
https://errata.example.com/path, the hostname portion would be lost
and we'd try to construct an XML-RPC client with
"/path/errata/errata_service" as the URL.

Fix that by using os.path.join only on the needed components (we
don't need it when joining the parsed URL netloc and path back
together).
@rohanpm rohanpm marked this pull request as ready for review June 1, 2021 01:24
@rohanpm rohanpm merged commit 9a675ac into release-engineering:master Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants