libmime icon indicating copy to clipboard operation
libmime copied to clipboard

buildHeaderParam fails if data string contains double width unicode char

Open andrewtamura opened this issue 11 years ago • 3 comments

See PR https://github.com/andris9/libmime/pull/3 for a test case.

andrewtamura avatar Jun 06 '15 00:06 andrewtamura

Yes, I checked and it definitely is a bug. This is caused by encodeURIComponent that encodes characters not as a full string but one character at a time. I'll try to think something out.

andris9 avatar Jun 07 '15 15:06 andris9

thanks!

andrewtamura avatar Jun 08 '15 19:06 andrewtamura

I think this got fixed a long time ago. Closing

andris9 avatar Aug 24 '16 07:08 andris9