Skip to content

Clarify file separator to be used in filePath suppressions #8351

@kwin

Description

@kwin

In https://dependency-check.github.io/DependencyCheck/general/suppression.html there are some example to suppress by filePath. For example

<filePath>c:\path\to\some.jar</filePath>

However it is unclear how to use a relative file path (leveraging regex) in an OS agnostic way. Which file separator can/should be used? Is forward slash also supported on Windows? At the same time it would be nice if relative file paths are supported (and which path they should be relative to).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions