Projects
home:mollekopf:branches:Kolab:Winterfell
cyrus-imapd
0001-Fixed-CALDAV-PUT-requests-while-proxying.p...
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Fixed-CALDAV-PUT-requests-while-proxying.patch of Package cyrus-imapd (Revision 4)
Currently displaying revision
4
,
Show latest
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 1/4] 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
.