The project "Citadel server, clients, utilities":
The branch, master has been updated
via c19a8b841ea8adf5a924a76c5c1daff71dc6cd3d (commit)
from 3ab8957204da0d432956a1883c8c1fb36a4826e0 (commit)
- Log -----------------------------------------------------------------
commit c19a8b841ea8adf5a924a76c5c1daff71dc6cd3d
Author: Art Cancro <[email protected]>
Date: Sat Jan 3 23:20:25 2026 -0500
Standardize URL encoding and clean up WebDAV/CalDAV path generation
* libcitadel: Refactor StrBufUrlescAppend() to strictly adhere to RFC 3986.
The function now ensures that only unreserved characters (ALPHA, DIGIT,
'-', '.', '_', '~') are left unescaped. All other characters,
including ':' and '@', are now correctly percent-encoded.
* webcit-ng: Remove unused 'site_prefix' parameters from
propfind_collection_metadata() and its callers. This simplifies the
internal API and relies on absolute paths relative to the server root.
* webcit-ng: Correct D:href generation in PROPFIND responses. By switching
to the revised StrBufUrlescAppend(), room names with spaces and special
characters are now correctly represented as valid URIs, enabling
discovery and navigation in CalDAV/WebDAV clients.
* Update copyright headers to 2026 where appropriate.
-----------------------------------------------------------------------
Summary of changes:
libcitadel/lib/stringbuf.c | 2 +-
webcit-ng/server/request.c | 2 +-
webcit-ng/server/room_functions.c | 4 ++--
webcit-ng/server/room_propfind.c | 6 +++---
webcit-ng/server/user_functions.c | 2 +-
webcit-ng/server/webcit.h | 4 ++--
6 files changed, 10 insertions(+), 10 deletions(-)
--
Citadel server, clients, utilities