Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL joined via slash but prefixed with / overwrite the root path #3

Open
Roobxyz opened this issue Dec 12, 2022 · 1 comment
Open

Comments

@Roobxyz
Copy link

Roobxyz commented Dec 12, 2022

Seen behaviour:

URL('a') / "/b"
URL('/b')

Expected behaviour:

URL('a') / "/b"
URL('a/b')
@brandonschabell
Copy link
Owner

This follows the behavior defined by pathlib.PurePath. I can't say for certain whether this is intentional, but a bug ticket would likely need to be filed with them.

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

No branches or pull requests

2 participants