mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-01 18:01:28 -06:00
end unprotected path prefixes with a slash
This commit is contained in:
committed by
Swikriti Tripathi
parent
6043e019f4
commit
28a9bf357e
@@ -45,22 +45,22 @@ var (
|
||||
}
|
||||
// _unprotectedPathPrefixes contains paths which don't need to be authenticated.
|
||||
_unprotectedPathPrefixes = [...]string{
|
||||
"/files",
|
||||
"/data",
|
||||
"/account",
|
||||
"/files/",
|
||||
"/data/",
|
||||
"/account/",
|
||||
"/s/",
|
||||
"/external/spaces",
|
||||
"/apps/openidconnect/redirect",
|
||||
"/settings",
|
||||
"/user-management",
|
||||
"/.well-known",
|
||||
"/js",
|
||||
"/css",
|
||||
"/fonts",
|
||||
"/icons",
|
||||
"/themes",
|
||||
"/signin",
|
||||
"/konnect",
|
||||
"/settings/",
|
||||
"/user-management/",
|
||||
"/.well-known/",
|
||||
"/js/",
|
||||
"/css/",
|
||||
"/fonts/",
|
||||
"/icons/",
|
||||
"/themes/",
|
||||
"/signin/",
|
||||
"/konnect/",
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user