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

Don't throw 500 error on attempted directory browse #740

Closed
simonw opened this issue Apr 27, 2020 · 1 comment
Closed

Don't throw 500 error on attempted directory browse #740

simonw opened this issue Apr 27, 2020 · 1 comment
Labels

Comments

@simonw
Copy link
Owner

simonw commented Apr 27, 2020

Error_500

This should be a 403 error instead, because the --static mechanism doesn't allow directory browsing.

@simonw simonw added the bug label Apr 27, 2020
@simonw
Copy link
Owner Author

simonw commented Apr 27, 2020

Spotted this while working on #731

@simonw simonw closed this as completed in 89c4ddd Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant