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

v3: Improve path validation in Static Middleware #3105

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Do not prefix with /

42e4a1a
Select commit
Loading
Failed to load commit list.
Open

v3: Improve path validation in Static Middleware #3105

Do not prefix with /
42e4a1a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Dec 10, 2024 in 0s

46.66% of diff hit (target 82.86%)

View this Pull Request on Codecov

46.66% of diff hit (target 82.86%)

Annotations

Check warning on line 111 in middleware/static/static.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

middleware/static/static.go#L109-L111

Added lines #L109 - L111 were not covered by tests

Check warning on line 122 in middleware/static/static.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

middleware/static/static.go#L120-L122

Added lines #L120 - L122 were not covered by tests