issues
search
thombashi
/
pathvalidate
A Python library to sanitize/validate a string such as filenames/file-paths/etc.
https://pathvalidate.rtfd.io/
MIT License
225
stars
13
forks
source link
Fix validation functions of filepaths
#55
Closed
thombashi
closed
3 months ago
thombashi
commented
3 months ago
If
platform
argument is
windows
or
universal
, filepaths ending with a space or a period are should be detected as an error
Fix POSIX-style absolute paths were not detected as errors with
platform="windows"
Related to #39
platform
argument iswindows
oruniversal
, filepaths ending with a space or a period are should be detected as an errorplatform="windows"
Related to #39