-
Notifications
You must be signed in to change notification settings - Fork 150
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
Bad 301 redirect without fastmailsharing #5035
Comments
So, Cyrus allows HTTP proxy authentication for admins by using the Cyrus-specific Authorize-As header in the request. However, its currently only allowed when talking to backend servers in a murder. I think proxy auth (like we have for IMAP) is a better way to go rather than just assuming that an admin wants to operate as the owner of a resource. This would also work for both DAV and JMAP without changing any other code. @brong @rsto Any thoughts on allowing proxy auth (admins only) to standalone servers? |
I do not understand why the snippet above is necessary — there should be no redirect and that’s it. When does this redirect make sense? |
See also cyrusimap#3205 (closed) and cyrusimap#5035
http_dav.c:calcarddav_parse_path() does:
When
a
is an administrator, callingsets above
*resultstr= "/dav/calendars/user/a/test.Default/
and doeslikewise
$ curl -v -HDepth:0 -XPROPFIND -H"content-type:application/xml" -ua:a http://127.0.0.3/dav/calendars/user/test/
sets
*resultstr = "/dav/calendars/user/a/test.(null)"
and the result is:The URLs ase invalid: /dav/calendars/user/a does not exist.
The text was updated successfully, but these errors were encountered: