Home / Vulnerability Database / Scala : Platform-specific file separator
Scala

Scala : Platform-specific file separator

Classification

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 Scala : Platform-specific file separator in your application?

See also

Scala

Scala : Unreleased resource stream

Scala

Scala : Multiple loggers in same class

Scala

Scala : Insufficient encryption key length