1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/shaarli_ynh.git synced 2024-09-03 20:26:10 +02:00

Merge pull request #50 from YunoHost-Apps/fix-path-traversal-issue

Fix path traversal issue
This commit is contained in:
lapineige 2020-03-24 22:20:03 +01:00 committed by GitHub
commit e5376bc9ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
location __PATH__ {
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
# Path to source
alias __FINALPATH__/ ;