You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Method sanitize() in class FileNameSanitizer uses __RE_INVALID_WIN_FILENAME constant independently from inbound platform name. Shouldn't it check platform and use __RE_INVALID_FILENAME in case of non-windows OS?
Method sanitize() in class FileNameSanitizer uses __RE_INVALID_WIN_FILENAME constant independently from inbound platform name. Shouldn't it check platform and use __RE_INVALID_FILENAME in case of non-windows OS?
See code at line:
pathvalidate/pathvalidate/_file.py
Line 122 in 718e62a
Similar situation is in sanitize() method in FilePathSanitizer class:
pathvalidate/pathvalidate/_file.py
Line 212 in 718e62a
The text was updated successfully, but these errors were encountered: