Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discourage ".." in file scheme URIs #461

Closed
ghost opened this issue May 1, 2020 · 1 comment
Closed

Discourage ".." in file scheme URIs #461

ghost opened this issue May 1, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented May 1, 2020

In §3.10.2, "Normalizing file scheme URIs", add (something like) the following:

SARIF producers SHOULD NOT emit file-scheme URIs that contain ".." path segments, and SARIF consumers SHOULD reject them.

NOTE: ".." segments are dangerous because the semantics of the file system on which the SARIF log file was produced might not match the semantics of the file system on which it is consumed. For example, the presence of a symbolic link in the path might redirect the consumer to an unpredictable location.

@dmk42
Copy link
Contributor

dmk42 commented Dec 19, 2023

Now that the Errata document has been published, this has been fixed in the official version of the standard.

@dmk42 dmk42 closed this as completed Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants