#414: line break in event gets send back as \\n ----------------------------------+----------------------------------------- Reporter: mail@… | Owner: wsanchez@… Type: Defect | Status: new Priority: 5: Not set | Milestone: Component: Calendar Server | Severity: Other Keywords: | Radar: ----------------------------------+----------------------------------------- I have reproduced this with an iPhone and with Lightning.
{{{ PUT /calendars/users/felix/calendar/eec52fe2-737e-4edb- 8b90-6e87c064bae8.ics HTTP/1.1 Host: www.felixmoeller.de:8008 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.7 Accept: text/xml Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3 Accept-Encoding: gzip,deflate Accept-Charset: utf-8,*;q=0.1 Keep-Alive: 115 Connection: keep-alive Content-Length: 797 Content-Type: text/calendar; charset=utf-8 If-Match: "094613aa1efc7f1b1a33b1394645aa50" Authorization: Digest username="asd", realm="Test Realm", nonce="938714704201974679450742567", uri="/calendars/users/felix/calendar/eec52fe2-737e-4edb- 8b90-6e87c064bae8.ics", algorithm=MD5, response="52bf7e6df238af6f4ba2e6a20f321680" Pragma: no-cache Cache-Control: no-cache BEGIN:VCALENDAR PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN VERSION:2.0 BEGIN:VTIMEZONE TZID:Europe/Berlin X-LIC-LOCATION:Europe/Berlin BEGIN:DAYLIGHT TZOFFSETFROM:+0100 TZOFFSETTO:+0200 TZNAME:CEST DTSTART:19700329T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:+0200 TZOFFSETTO:+0100 TZNAME:CET DTSTART:19701025T030000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 END:STANDARD END:VTIMEZONE BEGIN:VEVENT CREATED:20110207T222327Z LAST-MODIFIED:20110207T231033Z DTSTAMP:20110207T231033Z UID:eec52fe2-737e-4edb-8b90-6e87c064bae8 SUMMARY:Neuer Termin DTSTART;TZID=Europe/Berlin:20110207T230000 DTEND;TZID=Europe/Berlin:20110208T000000 DESCRIPTION:1\n2\n3\n\n5 TRANSP:OPAQUE X-MOZ-GENERATION:2 END:VEVENT END:VCALENDAR }}} Response: {{{ HTTP/1.1 204 No Content Content-Length: 0 Server: CalendarServer/3.0(rexportiert) Twisted/10.1.0 TwistedWeb/9.0.0 Last-Modified: Mon, 07 Feb 2011 22:40:24 GMT DAV: 1, access-control, calendar-access, calendar-schedule, calendar-auto-schedule, calendar-availability, inbox-availability, calendar-proxy, calendarserver-private-events, calendarserver-private- comments, calendarserver-sharing, calendarserver-sharing-no-scheduling, addressbook, calendarserver-principal-property-search ETag: "8301ddf72fc95e0080a82b7ca271db5c" Date: Mon, 07 Feb 2011 23:10:29 GMT }}} looking in the database, the event has {{{\\n}}} and accessing the vcard via the webinterface results in {{{\\n}}} too. Which path does this data take and where could it be modified? -- Ticket URL: <http://trac.calendarserver.org/ticket/414> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server _______________________________________________ calendarserver-dev mailing list calendarserver-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-dev