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
Hi,
I am using geddy in my app and wanted to prevent serving static file other than public(i dont even need public files). But i don't see anyway to achieve this, by default geddy is opening up not only public folder but the underlying os folders also.
As an example if i try to hit my application using http://localhost:4000/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd geddy is serving the output as it doesn't match the routes and its a static file - https://github.com/geddy/geddy/blob/master/lib/app/index.js#L187
Is there anyway to prevent this with some configuration by completely blocking static asset serving by geddy?
The text was updated successfully, but these errors were encountered:
Fixed in #699. We'll soon release it.
Sorry, something went wrong.
Released.
phanect
No branches or pull requests
Hi,
I am using geddy in my app and wanted to prevent serving static file other than public(i dont even need public files). But i don't see anyway to achieve this, by default geddy is opening up not only public folder but the underlying os folders also.
As an example if i try to hit my application using http://localhost:4000/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd geddy is serving the output as it doesn't match the routes and its a static file - https://github.com/geddy/geddy/blob/master/lib/app/index.js#L187
Is there anyway to prevent this with some configuration by completely blocking static asset serving by geddy?
The text was updated successfully, but these errors were encountered: