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
From 66c4d19345a1e9374967718cb831fb8cd1826e7e 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 c5c94f8dd..bd73964f2 100644 --- a/imap/http_dav.c +++ b/imap/http_dav.c @@ -7102,7 +7102,7 @@ int meth_put(struct transaction_t *txn, void *params) } /* Make sure mailbox type is correct */ - if (mbtype_isa(txn->req_tgt.mbentry->mbtype) != txn->req_tgt.namespace->mboxtype) + if ((mbtype_isa(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
.