[Synckolab] Fwd: Re: Time zone problem
henne.gwath at gmx.de
Fri Jun 22 00:30:01 PDT 2012
Here's more information on the timezone-problem caused by synckolab due
to not-escaping some characters in vcard-files. I would gladly
appreaciate a fix in nightly for this.
-------- Original-Nachricht --------
Betreff: Re: Time zone problem
Datum: Thu, 21 Jun 2012 16:05:04 +0200
Von: Jakob Bohm <jb-mozilla at wisemo.com>
Organisation: WiseMo A/S
An: mozilla-support-calendar at lists.mozilla.org
Kopie (CC): dev-apps-thunderbird at lists.mozilla.org,
dev-apps-calendar at lists.mozilla.org
<mailman.6047.1340050008.27472.support-calendar at lists.mozilla.org>
<mailman.6303.1340132125.27472.support-calendar at lists.mozilla.org>
<A4SdnRUuZsUfUH3SnZ2dnUVZ_smdnZ2d at mozilla.org>
<mailman.6428.1340186045.27472.support-calendar at lists.mozilla.org>
<ksadnRCa74t9YnzSnZ2dnUVZ_gWdnZ2d at mozilla.org>
<mailman.6697.1340265069.27472.support-calendar at lists.mozilla.org>
<4FE30B91.7040304 at wisemo.com>
For the example vCal item, removing the "quoted-printable"
header line would make it OK.
But for any vCal item which would otherwise not fit within
the RFC822++ limits on allowed characters, line length etc.,
this would not work.
What would work every time would be to actually *do* the
quoted-printable encoding when there is a reason to, and
to set the header according to the encoding actually done.
The definition of how to do the encoding is in one of the
basic MIME RFCs. The iana registration for the "quoted
printable" encoding should have a reference to the RFC
The problem is that the plugin says it uses one encoding
and then uses another one. It must say what it does and
do what it says.
On 6/21/2012 1:54 PM, Jakob Bohm wrote:
> On 6/21/2012 9:50 AM, K. Grishnak wrote:
>> This mail now goes to the general dev-app-list of TB and to the list for
>> dev-calendar, see why:
>> After further investigation I'm convinced that the timezone-error (see
>> latest mails on mozilla-support-calendar at lists.mozilla.org) this is a
>> more general thunderbird problem. Look:
>> - I disabled lightning in thunderbird, restarted the application.
>> - I pointed on one ical calendar item, whose content is now shown as
>> normal mail-body in TB. It reads
>> PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
>>>> TZID:Europe/Berlin >> correct
>> **>>X-LIC-LOCATION:Europe/Berlin >> correct**
>> **>>RRULE:FREQ=ARLY;BYDAY=-1SU;BYMONTH=3 >> missing a Y in YEARLY**
>> **>>RRULE:FREQ=ARLY;BYDAY=-1SU;BYMONTH >> missing a Y in YEARLY**
>> **>>DTSTART;TZID=rope/Berlin:20120620T180000 >> missing the two first
>> characters (happens no matter which timezone is used)**
>> **>>DTEND;TZID=rope/Berlin:20120620T190000 >> same here**
>> If I view the source of that mail in TB by pressing Ctr+U it reads
>> Return-Path: henning
>> To: synckolab at no.tld
>> Date: Wed, 20 Jun 2012 17:05:37 +0200
>> Subject: iCal a3d85f26-2222-4e9a-9c74-d63389bdbe3e
>> Message-ID: <4FE1E6BE-000049F1 at hollermann.eu>
>> From: "henning" <henning at hollermann.eu>
>> Content-Type: text/calendar;
>> Content-Transfer-Encoding: quoted-printable
> **** This is the culprit: ^^^^^^^^^^^^^^^^ ****
> The mail is marked as encoded as "quoted-printable", which means that
> any unencoded '=' sign begins a 3 char hex escape sequence such as =3D
> for an equals sign.
> But in the actual mail body, the '=' signs in the vCard are not encoded,
> so upon reception any correct mail, news or other MIME client will try
> to decode the next two chars as hex digits, which either gets the wrong
> result or fails halfway through. "=EA" thus decodes to character 234,
> "=EU" fails and can result in anything (Thunderbird falls back to a
> lone "=", dropping the chars it tried to decode as hex, resulting in
> "=") "=YE" fails early and can result in anything (Thunderbird falls
> back to a lone "=", dropping the char it tried to decode as hex,
> resulting in "=E").
> So you need to look at the code that incorrectly uploaded the vCal
> mime part, or at some mail server bug that tries to reencode on the
> fly and gets it wrong.
>> User-Agent: SyncKolab 2.0.2
>> PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
>> WITHOUT ERROR NOW! Why happens this? So at least I think that not
>> Lightning, but Thunderbird itself causes this problem and lightning just
>> can't read the data TB sends it and then throws error messages. I'm
>> using TB 13 at the moment. Occurs this to someone else and is yet fixed
>> maybe in newer versions?
>> Am 20.06.2012 18:52, schrieb Stefan Sitter:
>>> K. Grishnak wrote:
>>>> Right, "/citadel.org/Tzfile/Europe/Berlin" isn't a
>>>> standart-timezone. But the problem occurs also if the timezone is
>>>> just "Europe/Berlin", which is standart I guess.
>>>> Lightning reports an error of the same type, reporting that
>>>> "rope/Berlin" is not a known timezone. The source of the calendar
>>>> item reads "Europe/Berlin"
>>>> I don't think that this isn't a citadel problem.
>>>> I attached a sample event created by lightning, transfered correctly
>>>> to the calendar-folder on my mailserver, read out via IMAP and saved
>>>> as file. If I click on that item, lightning reports an timezone error
>>>> as before. Timezone is "Europe/Berlin" in the file. Thunderbird
>>> Hi, d don't know if mailserver and IMAP can handle iCalendar data.
>>> you can check the event in Lightning after its creation, what is
>>> send to
>>> the server resp. what is received on the server, and what is send back
>>> from the server.
>>> How do you access your calendar? What protocol / calendar provider is
>>> used? Depending on this you might see the necessary information in
>>> Console after enabling the advanced preferences "calendar.debug.log"
>>> "calendar.debug.log.verbose". Or you could check the server logs for
>>> information about send/received data.
Jakob Bohm, CIO, Partner, WiseMo A/S. http://www.wisemo.com
Transformervej 29, 2730 Herlev, Denmark. Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded
support-calendar mailing list
support-calendar at lists.mozilla.org
More information about the Synckolab