[imp] address book -> compose window
Rong-En Fan
rafan at csie.org
Sun Sep 5 06:35:53 PDT 2004
my issue is two fold,
first javascript's unescape is NOT multibyte
safe. If any contacts in a group contain
multibyte words, after calling updateMessage()
in contacts.inc, the name become a mess.
after some study, it seems impossible to do
reassemble the multibyte word by two ascii
values.
second, there are many \ contains in second
byte of big5 words, some check in framework/MIME
and PEAR's RFC822 does not like \ in name.
(yes, they are not multibyte safe, neither)
I'm willing to help testing any patch
or provides more details if developers
want it.
Thanks,
Rong-En Fan
On Sun, Sep 05, 2004 at 04:22:02PM +0800, Rong-En Fan wrote:
> Hello all,
>
> I'm appreciated if somebody can confirm this bug.
>
> You add a contact in your address book,
> the name is just a single backslash.
> Then go Compose window, click the "Contacts"
> in the middle window, which will pop up a
> contact list window, and then you select
> the contact named '\', click ok. Then we
> back to the compose window, the TO: now
> becomes
>
> "\\" <email at somewhere>
>
> Just send this message, it will reject from mail server
> from Sendmail, you get:
>
> rcpt to: "\\" <email at somewhere>
> 555 5.5.4 parameter unrecognized
>
> for postfix, you get:
>
> rcpt to: "\\" <email at somewhere>
> 555 Unsupported option: <rafan at infor.org>
>
> I have traced down this a while, the double
> backslashes comes from imp/templates/contacts/contacts.inc:
>
> fullname = fullname.replace(/\\/g, '\\\\');
>
> However, seems it does not working with smtp servers.
>
> I'm running about Jul 22's HEAD version. If you can't
> reproduce this problem, i'm willing to know what's your
> configuration to avoid this. If this is confirmed, I hope
> this can be solved ASAP. it's really annoying.
>
> Regards,
> Rong-En Fan
More information about the imp
mailing list