-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
request that StaticRoute has the option to follow symlinks #1299
Comments
You are asking for breaking security sandbox :) |
Yes, I think it would be ok if it's off by default. Same as apache and nginx. |
PR is welcome :) |
will do. A few of related extensions to
Example here of the first two. I can do on the same PR, or a new PR or create a new issue to discuss? |
Anyway, please add these extensions in separate PR. |
Will do, third option is available with S3 if you set the content-type metadata on the file which is why I suggested it. Will do PRs when I have a chance. |
File system has no place for metadata. |
Fixed by #1327 |
Currently
.resolve(), relative_to()
here causesValueError
to be raised if the path is a symlink to a file outsite the directory and 404 is returned.Would be good if there was a a way to get
StaticRoute
follow symlinks, obviously default to false.The text was updated successfully, but these errors were encountered: