Bug#778822: patch for handling non ASCII and non UTF8 headers in headache

2015-02-20 Thread Mehdi Dogguy
On Fri, Feb 20, 2015 at 05:23:04PM +0100, Virgile Prevosto wrote: > > I guess I still kind of hoped that the issue would be propagated to > Debian at some point, but I can understand that it wasn't important > enough to be handled by Ubuntu's bug managers > Sure. No problem. Do not hesitate to

Bug#778822: patch for handling non ASCII and non UTF8 headers in headache

2015-02-20 Thread Virgile Prevosto
2015-02-20 14:42 GMT+01:00 Mehdi Dogguy : > > Who uses iso-latin-1 anyway? :-P > Well, back at the time of the Ubuntu report, we still had some, but I have to admit that I needed to forge one in order to check that the patch still apply nowadays ;-) > I'll try to look if it is possible to includ

Bug#778822: patch for handling non ASCII and non UTF8 headers in headache

2015-02-20 Thread Mehdi Dogguy
Le 2015-02-20 11:39, Virgile Prevosto a écrit : Package: headache Version: 1.03-24 The utf8-length patch appeared in version 1.03-22 systematically uses UTF8.length to compute string lengths, which will produce wrong results if the header uses another encoding, such as iso-latin-1. The attached

Bug#778822: patch for handling non ASCII and non UTF8 headers in headache

2015-02-20 Thread Virgile Prevosto
Package: headache Version: 1.03-24 The utf8-length patch appeared in version 1.03-22 systematically uses UTF8.length to compute string lengths, which will produce wrong results if the header uses another encoding, such as iso-latin-1. The attached patch proposes to fall back to plain String.length