Projects
home:mollekopf:branches:Kolab:Winterfell
cyrus-imapd
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
cyrus-imapd.spec
Changed
@@ -46,6 +46,8 @@ # https://github.com/cyrusimap/cyrus-imapd/pull/3892 Patch4: patch-cyrus-squatter-assert-crash +Patch5: 0001-Fixed-CALDAV-PUT-requests-while-proxying.patch + Source10: cyrus-imapd.logrotate Source11: cyrus-imapd.pam-config
View file
0001-Fixed-CALDAV-PUT-requests-while-proxying.patch
Added
@@ -0,0 +1,26 @@ +From 44855ed9ae645725f03ae87ace647b066e0e74fb Mon Sep 17 00:00:00 2001 +From: Christian Mollekopf <mollekopf@apheleia-it.ch> +Date: Tue, 4 Oct 2022 13:48:02 +0200 +Subject: PATCH Fixed CALDAV PUT requests while proxying + +txn->req_tgt.namespace->mboxtype is MBTYPE_REMOTE in the proxy. +--- + imap/http_dav.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/imap/http_dav.c b/imap/http_dav.c +index abc6da42c..7c13d783b 100644 +--- a/imap/http_dav.c ++++ b/imap/http_dav.c +@@ -7097,7 +7097,7 @@ int meth_put(struct transaction_t *txn, void *params) + } + + /* Make sure mailbox type is correct */ +- if (txn->req_tgt.mbentry->mbtype != txn->req_tgt.namespace->mboxtype) ++ if (txn->req_tgt.mbentry->mbtype != txn->req_tgt.namespace->mboxtype && txn->req_tgt.mbentry->mbtype != MBTYPE_REMOTE) + return HTTP_FORBIDDEN; + + /* Make sure Content-Range isn't specified */ +-- +2.37.3 +
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.