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

plugins.serveStatic Fixes GH-1604 #2

Merged
merged 4 commits into from
May 26, 2022
Merged

Conversation

kolbma
Copy link
Owner

@kolbma kolbma commented May 26, 2022

Pre-Submission Checklist

  • Opened an issue discussing these changes before opening the PR
  • Ran the linter and tests via make prepush
  • Included comprehensive and convincing tests for changes

Issues

Closes:

There should be no dependency on the dirname for specific path.

kolbma added 4 commits May 25, 2022 19:27
The 2 tests are already available at line 230.
Fixes restify#1910
Added tests to check for traversals.
Reworked existing tests for making more sense.
Fixes restify#1864
and propable some other BadRequest types.
Fixes restify#1604
There should be no dependency on the dirname for specific path.
@kolbma kolbma merged commit 7f36ae1 into plugins-serveStatic-fixes May 26, 2022
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