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

GH-103220: Fix ntpath.join() of partial UNC drive with trailing slash #103221

Merged

Conversation

barneygale
Copy link
Contributor

@barneygale barneygale commented Apr 3, 2023

Before:

>>> ntpath.join('\\\\server\\', 'share')
'\\\\server\\\\share'
>>> ntpath.join('\\\\', 'server')
'\\\\\\server'

After:

>>> ntpath.join('\\\\server\\', 'share')
'\\\\server\\share'
>>> ntpath.join('\\\\', 'server')
'\\\\server'

@barneygale barneygale merged commit b57105a into python:main Apr 11, 2023
14 checks passed
warsaw pushed a commit to warsaw/cpython that referenced this pull request Apr 11, 2023
aisk pushed a commit to aisk/cpython that referenced this pull request Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants