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

Fix security #129

Merged
merged 3 commits into from
Jun 20, 2023
Merged

Fix security #129

merged 3 commits into from
Jun 20, 2023

Conversation

delfrrr
Copy link
Contributor

@delfrrr delfrrr commented Jun 20, 2023

No description provided.

@delfrrr delfrrr requested a review from a team as a code owner June 20, 2023 05:59
path = filepath.Join(h.staticPath, path)
_, err = os.Stat(path)
_, err := os.Stat(path)

Check failure

Code scanning / CodeQL

Uncontrolled data used in path expression

This path depends on a [user-provided value](1).
@delfrrr delfrrr merged commit 04ab69e into main Jun 20, 2023
@delfrrr delfrrr deleted the fix-security branch June 20, 2023 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant