Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
os.joinPaths documentation is inaccurate; should reference uri.combine #10836
The documentation for os.joinPaths (
os.joinPaths calls pathnorm.addNormalizePath which can modify path separators not at boundaries.
import os var base = r"file:///c:/WINDOWS/" var filePath = r"/write.exe" echo base / filePath
The documentation should mention that it normalizes the paths and also link to uri.combine (