1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Quickfix for path traversal issue

This commit is contained in:
Alexandre Aubin 2019-03-20 20:22:37 +01:00 committed by GitHub
parent a937450910
commit cc08c70224
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ location = /.well-known/caldav {
}
location ^~ __PATH__ {
alias __FINALPATH__/;
alias __FINALPATH__;
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;