Skip to content

Commit

Permalink
end unprotected path prefixes with a slash
Browse files Browse the repository at this point in the history
  • Loading branch information
David Christofas authored and kulmann committed Aug 23, 2022
1 parent b41382d commit cf77d2e
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions services/proxy/pkg/middleware/authentication.go
Original file line number Diff line number Diff line change
Expand Up @@ -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/",
}
)

Expand Down

0 comments on commit cf77d2e

Please sign in to comment.