Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

File Separator #45

@QiAnXinCodeSafe

Description

@QiAnXinCodeSafe

Hi :
We found a problem about File Separator in oauth2-useragent.Different operating systems use different characters as file separators. For example, Microsoft Windows systems use "", while UNIX systems use "/". When applications have to run on different platforms, the use of hardcoded file separators can lead to incorrect execution of application logic and potentially a denial of service.
com.microsoft.alm.oauth2.useragent.JavaFxProvider
image
advice: use ”File.separator“ replace “/”

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions