-
-
Notifications
You must be signed in to change notification settings - Fork 978
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
When the directory itself being a symlink does not work. #2646
Comments
I guess this makes sense. We did have a security advisory about symlinks, so I'm a bit cautious. Would you like to create a PR? Also, check the advisory GHSA-v5gw-mw7f-84px and see if we will not introduce something similar. 🙏 Thanks! |
I test GHSA-v5gw-mw7f-84px case. test result is 404 Not Found. Review PR #2711 please. |
It seems this PR caused some unexpected issues around:
I'm thinking about reverting this. Why does it benefit you having the directory as a symlink? @hanxi |
I have a music directory that is shared by two web services. One of the web services uses it. Without changing the relative path, I created a symbolic link to music in the current directory of the web service. eg: If the code is rolled back, I want a new option to be able to handle this situation. |
Please see if this helps #2896 |
My test code:
The directory /home/hanxi/work/xiaomusic/music is a symlink.
I fix this in hanxi@831cb5d
Need pr?
Important
The text was updated successfully, but these errors were encountered: