projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
724bf4e
)
REPORT namespace output uses declaration defined on top
author
Art Cancro
<ajc@citadel.org>
Wed, 27 Mar 2024 19:43:06 +0000
(12:43 -0700)
committer
Art Cancro
<ajc@citadel.org>
Wed, 27 Mar 2024 19:46:13 +0000
(12:46 -0700)
webcit-ng/server/caldav_reports.c
patch
|
blob
|
history
diff --git
a/webcit-ng/server/caldav_reports.c
b/webcit-ng/server/caldav_reports.c
index 1bb8b85bba93995957bbb97befbb5a80f7cd6481..49d1fe8d03f4ca7a07d892e7a5864f337cdaa10b 100644
(file)
--- a/
webcit-ng/server/caldav_reports.c
+++ b/
webcit-ng/server/caldav_reports.c
@@
-484,11
+484,8
@@
void caldav_report(struct http_transaction *h, struct ctdlsession *c) {
syslog(LOG_DEBUG, "CalDAV REPORT type is: %d", crp.report_type);
StrBuf *ReportOut = NewStrBuf();
StrBufAppendPrintf(ReportOut,
syslog(LOG_DEBUG, "CalDAV REPORT type is: %d", crp.report_type);
StrBuf *ReportOut = NewStrBuf();
StrBufAppendPrintf(ReportOut,
- "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
- "<D:multistatus "
- "xmlns:D=\"DAV:\" "
- "xmlns:C=\"urn:ietf:params:xml:ns:caldav\""
- ">"
+ "<?xml version=\"1.0\" encoding=\"utf-8\"?><D:multistatus xmlns:D=\"DAV:\" xmlns:C=\"%s\">",
+ CALDAV
);
// RFC4791 7.8 "calendar-query" REPORT - Client will send a lot of search criteria.
);
// RFC4791 7.8 "calendar-query" REPORT - Client will send a lot of search criteria.