implement thumbnails also for webdav and non remote.php routes

This commit is contained in:
Willy Kloucek
2022-05-05 13:48:51 +00:00
committed by Jörn Friedrich Dreyer
parent 9db5216bc4
commit a04c5c2f6f
4 changed files with 111 additions and 48 deletions
@@ -115,6 +115,7 @@ func (m basicAuth) isPublicLink(req *http.Request) bool {
}
publicPaths := []string{
"/dav/public-files/",
"/remote.php/dav/public-files/",
"/remote.php/ocs/apps/files_sharing/api/v1/tokeninfo/unprotected",
"/ocs/v1.php/cloud/capabilities",