diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2018-09-26 16:24:37 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-10-10 13:01:23 +0200 |
commit | 6642efa7f4e707dcbe74dc67f7403a7c82a7a2f4 (patch) | |
tree | fef43d87725e30e22de2655ba15b515f6096d750 | |
parent | 1dbd7172c31b2d611e49c7c8a60a05da134a4733 (diff) | |
download | nextcloud-server-6642efa7f4e707dcbe74dc67f7403a7c82a7a2f4.tar.gz nextcloud-server-6642efa7f4e707dcbe74dc67f7403a7c82a7a2f4.zip |
adding .well-known/webfinger
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r-- | .htaccess | 1 | ||||
-rw-r--r-- | tests/data/setUploadLimit/htaccess | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess index 190b414558b..56893dcae71 100644 --- a/.htaccess +++ b/.htaccess @@ -59,6 +59,7 @@ RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteRule ^\.well-known/host-meta /public.php?service=host-meta [QSA,L] RewriteRule ^\.well-known/host-meta\.json /public.php?service=host-meta-json [QSA,L] + RewriteRule ^\.well-known/webfinger /public.php?service=webfinger [QSA,L] RewriteRule ^\.well-known/carddav /remote.php/dav/ [R=301,L] RewriteRule ^\.well-known/caldav /remote.php/dav/ [R=301,L] RewriteRule ^remote/(.*) remote.php [QSA,L] diff --git a/tests/data/setUploadLimit/htaccess b/tests/data/setUploadLimit/htaccess index 65957a29838..f7bfcdbc80b 100644 --- a/tests/data/setUploadLimit/htaccess +++ b/tests/data/setUploadLimit/htaccess @@ -38,6 +38,7 @@ RewriteEngine on RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteRule ^\.well-known/host-meta /public.php?service=host-meta [QSA,L] RewriteRule ^\.well-known/host-meta\.json /public.php?service=host-meta-json [QSA,L] +RewriteRule ^\.well-known/webfinger /public.php?service=webfinger [QSA,L] RewriteRule ^\.well-known/carddav /remote.php/carddav/ [R=301,L] RewriteRule ^\.well-known/caldav /remote.php/caldav/ [R=301,L] RewriteRule ^apps/calendar/caldav\.php remote.php/caldav/ [QSA,L] |