Home / Vulnerability Database / C-sharp : Platform-specific file separator
C#
C-sharp : 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 C-sharp : Platform-specific file separator in your application?
See also
C#
C-sharp : JWT: None Algorithm
C#
C-sharp : Insecure data transmission: Database
C#
