Mailing List Archive

Attachments to calendar items?
All,

we see a problem with files attached to calendar items.

Files attached to an item on a Mac ical client are perfectly readable
on that machine, but not from other clients (iphone, ipad,
Thunderbird), nor directly from a web browser. Log entries look like
(obfuscated, from an iphone 4)

130.a.b.c - - [10/May/2019:11:28:12 +0200] "GET
/PATH/caldav.php/USER/.drop/9D88CBD8-9370-48E0-A92E-600ABE0AFF66.dropbox/Nutzungsbedingungen.pdf
HTTP/1.1" 401 40
130.a.b.c - USER [10/May/2019:11:28:12 +0200] "GET
/PATH/caldav.php/USER/.drop/9D88CBD8-9370-48E0-A92E-600ABE0AFF66.dropbox/Nutzungsbedingungen.pdf
HTTP/1.1" 404 19

The server is 1.1.7 from pkgsrc.

Is this a known issue?

Cheerio,
Hauke

--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut f?r Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-21344


_______________________________________________
Davical-general mailing list
Davical-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general
Re: Attachments to calendar items? [ In reply to ]
On Fri, 10 May 2019 11:34:30 +0200, Hauke Fath wrote:
> The server is 1.1.7 from pkgsrc.

Upgrading to 1.1.8 didn't make a difference. Except...

Syncing the updated item after attaching a file results in an error
message ("https://SERVER/PATH/caldav.php/USER/ ist keine g?ltige URL,
die diese Anfrage unterst?tzt.", ignore/retry/use server version), and
the log entries

130.a.b.c - USER [10/May/2019:12:05:58 +0200] "PUT
/PATH/caldav.php/USER/calendar/9D88CBD8-9370-48E0-A92E-600ABE0AFF66.ics
HTTP/1.1" 204 -
130.a.b.c - USER [10/May/2019:12:05:58 +0200] "HEAD
/PATH/caldav.php/USER/.drop/9D88CBD8-9370-48E0-A92E-600ABE0AFF66.dropbox/
HTTP/1.1" 405 -
130.a.b.c - USER [10/May/2019:12:05:58 +0200] "MKCOL
/PATH/caldav.php/USER/.drop/9D88CBD8-9370-48E0-A92E-600ABE0AFF66.dropbox/
HTTP/1.1" 405 45

Cheerio,
Hauke

--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut f?r Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-21344


_______________________________________________
Davical-general mailing list
Davical-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general
Re: Attachments to calendar items? [ In reply to ]
And the database has this to say:

[...]
ERROR: invalid byte sequence for encoding "UTF8": 0xe2 0xe3 0xcf
ERROR: current transaction is aborted, commands ignored until end of
transaction block
STATEMENT: SELECT write_sync_change( 27406, 201,
'/USER/.drop/9D88CBD8-9370-48E0-A92E-600ABE0AFF66.dropbox/Nutzungsbedingungen.pdf')
ERROR: current transaction is aborted, commands ignored until end of
transaction block
STATEMENT: SELECT write_sync_change( 27406, 201,
'/USER/.drop/9D88CBD8-9370-48E0-A92E-600ABE0AFF66.dropbox/Nutzungsbedingungen.pdf')

Are there any extended logging options to activate so that I can see
where the invalid UTF8 is from?

And is this the right forum? Or should I just open an issue at github?

Cheerio,
Hauke

--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut f?r Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-21344


_______________________________________________
Davical-general mailing list
Davical-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general