mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-04 11:19:39 -06:00
don't protect unprotected endpoint
Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
@@ -116,6 +116,7 @@ func (m basicAuth) isPublicLink(req *http.Request) bool {
|
||||
|
||||
publicPaths := []string{
|
||||
"/remote.php/dav/public-files/",
|
||||
"/remote.php/ocs/apps/files_sharing/api/v1/tokeninfo/unprotected",
|
||||
"/ocs/v1.php/cloud/capabilities",
|
||||
}
|
||||
isPublic := false
|
||||
|
||||
Reference in New Issue
Block a user