File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
services/proxy/pkg/middleware Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1+ Bugfix: Add OCS v2 capabilities endpoint to public paths
2+
3+ Following the same behavior as OCS v1, we added the OCS v2 capabilities endpoint to the public paths.
4+
5+ https://github.com/owncloud/ocis/pull/11665
Original file line number Diff line number Diff line change @@ -23,14 +23,15 @@ var (
2323 ProxyWwwAuthenticate = []regexp.Regexp {* regexp .MustCompile ("/ocs/v[12].php/cloud/" )}
2424
2525 _publicPaths = [... ]string {
26- "/dav/public-files/" ,
2726 "/remote.php/dav/ocm/" ,
2827 "/dav/ocm/" ,
2928 "/ocm/" ,
3029 "/remote.php/dav/public-files/" ,
30+ "/dav/public-files/" ,
3131 "/ocs/v1.php/apps/files_sharing/api/v1/tokeninfo/unprotected" ,
3232 "/ocs/v2.php/apps/files_sharing/api/v1/tokeninfo/unprotected" ,
3333 "/ocs/v1.php/cloud/capabilities" ,
34+ "/ocs/v2.php/cloud/capabilities" ,
3435 "/ocs/v1.php/cloud/user/signing-key" ,
3536 "/ocs/v2.php/cloud/user/signing-key" ,
3637 "/ocs/v2.php/apps/notifications/api/v1/notifications/sse" ,
You can’t perform that action at this time.
0 commit comments