View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002298||SOGo||Backend Calendar||public||2013-04-19 13:48||2013-06-21 00:19|
|Reporter||Jens Erat||Assigned To|
|Summary||0002298: HTTP Error 404 when uploading ICS files using CalDAV containing 'folded' / split-up UTF-8 characters|
When uploading ICS files using CalDAV containing 'folded' / split-up UTF-8 characters. Example:
This occurs with us when splitting up a two-byte encoded "Umlaut" which starts at column 75. The second byte will get folded into the next line, divided by
RFC 5545 (iCalendar) states:
Where there is no other definition for octets than bytes. Actually they're even addressing the issue described above on the next page:
In our case, the "very simple implementation" is a Perl script which unfolds the ICS file, changes some contents and then folds the lines again.
How to reproduce
Upload attached ICS file, which will be refused with an HTTP error 404. If the
The ICS file with folded multibyte character should be accepted and parsed correctly.
broken.ics - folded umlaut, doesn't get imported
Tested with SOGo versions 2.03a, 2.04b and 2.05a, uploading with DAVFS2/Neon with
|Tags||No tags attached.|
demo-files.tar (5,120 bytes)
I've been investigating this issue for a while now and I'm getting closer to a fix. In my testing, the 'fixed.ics' file wouldn't upload correctly to SOGo, it would fail with a 404 (same error as broken.ics).
Could you post the raw http request (PUT) that your dav client is doing to upload the fixed.ics file?
|2013-04-19 13:48||Jens Erat||New Issue|
|2013-04-19 13:48||Jens Erat||File Added: demo-files.tar|
|2013-04-23 12:47||ludovic||Target Version||=> soon|
|2013-05-24 11:22||ludovic||Target Version||soon => 2.0.6|
||Status||new => assigned|
||Assigned To||=> jraby|
||Note Added: 0005648|
|2013-06-21 00:19||ludovic||Target Version||2.0.6 => soon|