ntpath.join()
adds slash to incomplete UNC drive with trailing slash
#103220
Labels
3.10
only security fixes
3.11
only security fixes
3.12
only security fixes
OS-windows
type-bug
An unexpected behavior, bug, or error
Uh oh!
There was an error while loading. Please reload this page.
ntpath.join()
incorrectly inserts an additional slash when joining an argument onto an incomplete UNC drive with a trailing slash:Before 005e694 (3.12), the last test case succeeds because
splitdrive()
doesn't identify'\\\\'
as a UNC drive. But the third test case is reproducible going back to 3.11 and 3.10.Linked PRs
ntpath.join()
of partial UNC drive with trailing slash #103221The text was updated successfully, but these errors were encountered: