Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add index.html to unprotected paths in auth middleware #4458

Merged
merged 2 commits into from
Aug 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion changelog/unreleased/missing-unprotected-paths.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Enhancement: Add missing unprotected paths

Added missing unprotected paths for the text-editor, preview, pdf-viewer and draw-io to the authentication middleware.
Added missing unprotected paths for the text-editor, preview, pdf-viewer, draw-io and index.html to the authentication middleware.

https://github.com/owncloud/ocis/pull/4454
https://github.com/owncloud/ocis/pull/4458
3 changes: 2 additions & 1 deletion services/proxy/pkg/middleware/authentication.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var (
"/data/",
"/account/",
"/s/",
"/external/spaces",
"/external",
"/apps/openidconnect/redirect",
"/settings/",
"/user-management/",
Expand All @@ -66,6 +66,7 @@ var (
"/preview/",
"/pdf-viewer/",
"/draw-io/",
"/index.html#/",
}
)

Expand Down