Home / Vulnerability Database / Python : Platform-specific file separator
Python
Python : Platform-specific file separator
Classification
CWE
Overview
Using hardcoded file separator leads to problems with application portability.
Different operating systems use different file separators. For example, Windows uses “\”, whereas UNIX-like operating system use “/”. If you intend to run the application on different platforms, the hardcoded file separator can change the application logic or cause a denial of service.
MEDIUM
DerScanner Severity Score
Do you want to fix Python : Platform-specific file separator in your application?
See also
Python
Python : Debug mode on
Python
Python : Web3: Deprecated method
Python
