View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001758||SOGo||Web Calendar||public||2012-04-05 13:21||2022-11-09 11:07|
|Summary||0001758: Cannot import an .ics with binary attachment|
I cannot import the attached file using SOGo web client. It works when it I manually remove all ATTACH attributes. Is there something wrong with the file itself? I do not see any error message either in the SOGo backend log or in the web client. Web client simply says "No event was imported". I found no way to find out what is wrong with the file.
|Tags||No tags attached.|
outlook.ics (308,031 bytes)
Binary attachments are not supported for events or tasks in SOGo, nor Thunderbird/Lightning.
The iCalendar standard allows but discourages the use of binary attachments.
Binary content information in an iCalendar object SHOULD be
The following example specifies an "ATTACH" property that references
The following example specifies an "ATTACH" property with inline
Are you sure you want all sorts of files on your calendar server?
I don't, because of the following reasons:
2) The calendar server has to handle the additional bandwidth and storage for these files.
3) You can't scan these files for viruses on the calendar server. Spreading malicious content will be hard to prevent.
Thanks for your detailed reply, Christian.
I am fine with the fact, that SOGo does not support binary attachments - at least now, when I know it. It would be nice if SOGo itself could tell me that that it does not support binary attachments when I try to import one. And it would be nice if SOGo would offer me an option to strip/ignore the binary attachments or even better, an option to detach/save the binary attachments on import.
The attached .ics file comes from an external site. It is a an invitation to a training and the attachment is a PDF registration form. Is there a way how my users could simply extract those forms out of the invitation?
Sorry, but I don't know an easy way to extract it.
I could do it manually, by copying the base64 part, decode it and save it as PDF file.
Thanks again for your prompt reply, Christian.
OK, I accept your reply for extracting/detaching.
But how about informing the user that binary attachments are not supported when he tries to import one?
Because of these open issue I changed this bug report to an enhancement request.
A better way to do that as binary attachment is not recommended, would be to support extra linking on external storage like filelink do for email large attachments (https://support.mozilla.org/en-US/kb/filelink-large-attachments).
It would be nice to have into SOGo (and lightning) a button "attach file". When user "attach" : app uploads file via filelink and add url attachment in task or event.
What do you think about that? Is it easily possible? It would be a very very important and expected new feature, isn't it?
afaik this is "by design":
RFC 2445 https://www.ietf.org/rfc/rfc2445.txt:
No mentions about binary attachments, just URL...
In order to support ActiveSync (EAS) 6.0 and higher, calendar attachments should be supported.
|2012-04-05 13:21||gazda||New Issue|
|2012-04-05 13:21||gazda||File Added: outlook.ics|
|2012-04-10 12:14||Christian Mack||Note Added: 0003701|
|2012-04-10 12:19||Christian Mack||Note Edited: 0003701|
|2012-04-10 13:04||gazda||Note Added: 0003705|
|2012-04-10 13:48||Christian Mack||Severity||major => feature|
|2012-04-10 13:56||Christian Mack||Note Added: 0003707|
|2012-04-10 15:12||gazda||Note Added: 0003708|
|2012-04-10 16:31||Christian Mack||Note Added: 0003710|
|2015-09-01 11:54||thierry||Note Added: 0008882|
|2016-07-15 19:01||peterbeck||Note Added: 0010499|
|2022-11-09 11:07||evert_mouw||Note Added: 0016358|