[Freeipa-devel] [PATCH] 0048 Decode HTTP reason phrase as iso-8859-1

Jan Cholasta jcholast at redhat.com
Thu Jan 7 06:56:15 UTC 2016


Hi,

On 6.1.2016 05:26, Fraser Tweedale wrote:
> Happy new year, all.
>
> The attached patch fixes a unicode decode error triggered in some
> locales, which causes failure of installation (and probably other
> oprations, if locale is changed under an existing server).
>
> https://fedorahosted.org/freeipa/ticket/5578

It seems like this fixes only part of the issue - the installer won't 
crash anymore. But what happens if the reason phrase uses characters 
which are not in iso-8859-1 (e.g. "č", a character commonly used in 
Czech)? Shouldn't we always specify the encoding in requests, so that 
Dogtag does not have to guess?

Honza

-- 
Jan Cholasta




More information about the Freeipa-devel mailing list