// This file contains functions which handle all of the CalDAV "REPORT" queries
// specified in RFC4791 section 7.
//
-// Copyright (c) 2022 by the citadel.org team
+// Copyright (c) 2023 by the citadel.org team
//
// This program is open source software. Use, duplication, or
// disclosure are subject to the GNU General Public License v3.
// The code in here feeds messages out as JSON to the client browser. It is currently being used
// for the forum view, but as we implement other views we'll probably reuse a lot of what's here.
//
-// Copyright (c) 1996-2022 by the citadel.org team
+// Copyright (c) 1996-2023 by the citadel.org team
//
// This program is open source software. Use, duplication, or
// disclosure are subject to the GNU General Public License v3.
// Message base functions
//
-// Copyright (c) 1996-2022 by the citadel.org team
+// Copyright (c) 1996-2023 by the citadel.org team
//
// This program is open source software. Use, duplication, or
// disclosure are subject to the GNU General Public License v3.
// After calling pop_upload(), the attachment is no longer in the global list.
// The file descriptor has zero links, so when we close it, the filesystem will remove it from disk.
-
- syslog(LOG_DEBUG, "💥 attachment: %s , len=%ld", one_att.filename, one_att.length);
ctdl_printf(c, "--%s\r", mime_boundary);
ctdl_printf(c, "Content-Type: %s; name=\"%s\"\r", one_att.content_type, one_att.filename);
ctdl_printf(c, "Content-Disposition: attachment; filename=\"%s\"\r", one_att.filename);
// User functions
//
-// Copyright (c) 1996-2022 by the citadel.org team
+// Copyright (c) 1996-2023 by the citadel.org team
//
// This program is open source software. Use, duplication, or
// disclosure are subject to the GNU General Public License v3.
// Utility functions
-// Copyright (c) 1996-2022 by the citadel.org team
+// Copyright (c) 1996-2023 by the citadel.org team
// This program is open source software. Use, duplication, or disclosure are subject to the GNU General Public License v3.
#include "webcit.h"