[Calendar and Contacts Server] #413: Mails broken if /accounts/user/name contains umlauts
#413: Mails broken if /accounts/user/name contains umlauts ----------------------------------+----------------------------------------- Reporter: mail@… | Owner: wsanchez@… Type: Defect | Status: new Priority: 5: Not set | Milestone: Component: Calendar Server | Severity: Other Keywords: | Radar: ----------------------------------+----------------------------------------- Hi, I have an Umlaut in my name: ö. The mailgateway will send mails like the following: {{{ 2011-02-07 09:50:08+0100 [-] [mailgateway] From: =?utf-8?q?Felix_M=C3=B6ller_=3Cmail=40felixmoeller=2Ede=3E?= }}} Removing the Umlaut it gets back to: {{{ 2011-02-07 10:01:06+0100 [-] [mailgateway] From: Felix Moeller <mail@felixmoeller.de> }}} I guess this should allready be encoded in Quoted Printable at: {{{ formattedFrom = "%s <%s>" % (cn, fromAddr) }}} Workarround is to remove the Umlaut... -- Ticket URL: <http://trac.calendarserver.org/ticket/413> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
#413: Mails broken if /accounts/user/name contains umlauts ----------------------------------+----------------------------------------- Reporter: mail@… | Owner: wsanchez@… Type: Defect | Status: new Priority: 5: Not set | Milestone: Component: Calendar Server | Severity: Other Keywords: | Radar: ----------------------------------+----------------------------------------- Comment(by cdaboo@…): The ?q? encoding piece should only be applied to the "comment" portion of the From address and not the mailbox portion. i.e. it ought to have been: From: =?utf-8?q?Felix_M=C3=B6ller?= <mail@felixmoeller.de> -- Ticket URL: <http://trac.calendarserver.org/ticket/413#comment:1> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
#413: Mails broken if /accounts/user/name contains umlauts ----------------------------------+----------------------------------------- Reporter: mail@… | Owner: wsanchez@… Type: Defect | Status: new Priority: 5: Not set | Milestone: Component: Calendar Server | Severity: Other Keywords: | Radar: ----------------------------------+----------------------------------------- Comment(by mail@…): With current head it sends a mail out like this: {{{ 2011-07-13 07:05:25+0200 [-] [mailgateway] From: Felix Möller <mail@felixmoeller.de> }}} Is this valid? I often read on the internet that headers must be encoded in 7/8 bits no matter what the characterset of the mail is. Whats about http://tools.ietf.org/html/rfc2047 ? -- Ticket URL: <http://trac.calendarserver.org/ticket/413#comment:2> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
#413: Mails broken if /accounts/user/name contains umlauts -----------------------------------+---------------------------------------- Reporter: mail@… | Owner: wsanchez@… Type: Defect | Status: closed Priority: 5: Not set | Milestone: Component: Calendar Server | Severity: Other Resolution: Software changed | Keywords: Radar: | -----------------------------------+---------------------------------------- Changes (by sagen@…): * status: new => closed * resolution: => Software changed Comment: Correct, the From needs to be encoded (the Subject already was being properly encoded), fixed in https://trac.calendarserver.org/changeset/7784/CalendarServer/trunk -- Ticket URL: <http://trac.calendarserver.org/ticket/413#comment:3> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
participants (1)
-
Calendar and Contacts Server