-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Add missing UT to Static Middleware #1720
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
Comments
@pafuent there were tests for middleware. See that patch file in comment #1718 (comment) |
@aldas Nice!!! |
…tests refactor static middleware tests not to use previous case state (#1720)
Covered by PR 1740. We now have tests covering static directory traversal also for the static middlerware. |
The #1718 modified how static files are handled to prevent directory traversal. On that PR, some unit test were added to echo_test.go, but those test were not implemented for the Static Middleware (static_test.go)
The idea of this issue is to implement the missing test on the Static Middleware in relation to TestEchoStatic tests.
The text was updated successfully, but these errors were encountered: