Commit e1b179e
committed
Ensure
In PyPI simple repository format, package URLs typically end with the
package name and should have a trailing slash [1].
To ensure this trailing slash, the some web servers might redirect to
the URL with the trailing slash.
This causes the issue that the BasicAuth credentials are removed from
the request for security reasons.
This was observed with an internal Artifactory repository and adding a
trailing slash to the package_url fixes the issue.
[1]: https://peps.python.org/pep-0503/#specification
Resolves: #127.
Signed-off-by: Marcel Bochtler <marcel.bochtler@bosch.com>package_urls end with a slash1 parent f634e2d commit e1b179e
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1598 | 1598 | | |
1599 | 1599 | | |
1600 | 1600 | | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
1601 | 1605 | | |
1602 | 1606 | | |
1603 | 1607 | | |
| |||
0 commit comments