Closed Bug 536898 Opened 16 years ago Closed 15 years ago

Lightning breaks HTML descriptions as generated by Outlook in the X-ALT-DESC field

Categories

(Calendar :: Provider: CalDAV, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 577220

People

(Reporter: jm.bugtracking, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091204 Lightning/1.0b1 Thunderbird/3.0 Outlook generates rich-text descriptions and puts them into VCALENDAR entries like this: X-ALT-DESC;FMTTYPE=text/html:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//E N">\n<HTML>\n<HEAD>\n<META NAME="Generator" CONTENT="MS Exchange Server ve rsion 08.00.0681.000">\n<TITLE></TITLE>\n</HEAD>\n<BODY>\n<!-- Converted f rom text/rtf format -->\n\n<P DIR=LTR><SPAN LANG="de"><FONT FACE="Calibri" >When: Dienstag\, 5. Januar 2010 10:00-19:00 (UTC+01:00) Amsterdam\, Berli n\, Bern\, Rom\, Stockholm\, Wien.</FONT></SPAN></P>\n\n<P DIR=LTR><SPAN L ANG="de"><FONT FACE="Calibri">Where: München</FONT></SPAN></P>\n\ n<P DIR=LTR><SPAN LANG="de"><FONT FACE="Calibri">Note: The GMT offset abov e does not reflect daylight saving time adjustments.</FONT></SPAN></P>\n\n <P DIR=LTR><SPAN LANG="de"><FONT FACE="Calibri">*~*~*~*~*~*~*~*~*~*</FONT> </SPAN></P>\n\n<P DIR=LTR><SPAN LANG="de"></SPAN></P>\n\n</BODY>\n</HTML> (notice the explicitly escaped newline characters). When I click the accept button on such a VCALENDAR file Lightning creates a HTTP PUT request to the Caldav Server containing this: X-ALT-DESC;FMTTYPE=text/html:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2// EN"> <HTML> <HEAD> <META NAME="Generator" CONTENT="MS Exchange Server vers ion 08.00.0681.000"> <TITLE></TITLE> </HEAD> <BODY> <!-- Converted from te xt/rtf format --> <P DIR=LTR><SPAN LANG="de"><FONT FACE="Calibri">When: D ienstag, 5. Januar 2010 10:00-19:00 (UTC+01:00) Amsterdam, Berlin, Bern, R om, Stockholm, Wien.</FONT></SPAN></P> <P DIR=LTR><SPAN LANG="de"><FONT F ACE="Calibri">Where: Büro - München</FONT></SPAN></P> <P DIR=LTR><SPAN LANG="de"><FONT FACE="Calibri">Note: The GMT offset above does not reflect daylight saving time adjustments.</FONT></SPAN></P> <P DIR=LTR><SPAN LAN G="de"><FONT FACE="Calibri">*~*~*~*~*~*~*~*~*~*</FONT></SPAN></P> <P DIR= LTR><SPAN LANG="de"></SPAN></P> </BODY> </HTML> which is not a valid VCALENDAR entry anymore as the HTML-code doesn't contain a whitespace character after every linefeed and thus leads to a server error. I tested this using Sun Java Calendar Server 7 (CalDAV, not WCAP), but I assume that every other CalDAV server will also produce an error when faced with this input. Reproducible: Always
I can confirm this bug, it breaks Funambol sync: https://mozilla-plugin.forge.funambol.org/servlets/tracking/remcurreport/true/template/ViewIssue.vm/id/SC201/nbrresults/25 I would consider this to be a critical bug, if you ask me :)
Flags: blocking-calendar1.0?
I have the same symptom , using Lightning with a networkcalendar provide by davmail . When i dump packet on the network (with tcpflow ) i see that : ../.. DTSTART:20101103T140000Z DTEND:20101103T150000Z CLASS:PUBLIC DESCRIPTION:Quand : mercredi 3 novembre 2010 15:00-16:00 (UTC+01:00) Bruxe lles\, Copenhague\, Madrid\, Paris.\nEmplacement : Ton bureau\n\nRemarque : le d..calage GMT ci-dessus ne tient pas compte des r..glages de l'heure d'..t...\n\n*~*~*~*~*~*~*~*~*~*\n\nPoint .. statuer : \n-\tCr..ation une i nterface ..................................n\n LOCATION:Ton bureau SEQUENCE:5 TRANSP:OPAQUE X-ALT-DESC;FMTTYPE=text/html:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2// EN"> <HTML> <HEAD> <META NAME="Generator" CONTENT="MS Exchange Server vers ion 08.00.0681.000"> ../.. in the original vcard we have many \n in the field X-ALT-DESC , like DESCRIPTION . But when lightning send the data to a caldav server , the behavior is correct for DESCRIPTION not for X-ALT-DESC . This is for me critical . My version : lightning 1.0b2 with thunderbird 3.1.6 on linux ubuntu
similar bug 577220
Dupe of bu 577220 The STR in bug 577220 is better imho.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Flags: blocking-calendar1.0?
You need to log in before you can comment on or make changes to this bug.