[Patchew-devel] [Bug] Mojibake in logs

Paolo Bonzini pbonzini at redhat.com
Fri Aug 9 12:05:30 UTC 2019


On 07/08/19 07:32, Markus Armbruster wrote:
> Reproducer: my Firefox shows
> 
>     https://patchew.org/logs/20190806151435.10740-1-armbru@redhat.com/testing.s390x/?type=message.
> 
> with fancy quotes around function names messed up like this:
> 
>     /var/tmp/patchew-tester-tmp-kvl3z3jy/src/hw/intc/s390_flic_kvm.c:395:9: error: implicit declaration of function ‘qemu_put_be64’ [-Werror=implicit-function-declaration]
> 
> Let's have a look at the HTTP headers:
> 
>     $ wget -S 'https://patchew.org/logs/20190806151435.10740-1-armbru@redhat.com/testing.s390x/?type=message.'
>     --2019-08-07 07:27:11--  https://patchew.org/logs/20190806151435.10740-1-armbru@redhat.com/testing.s390x/?type=message.
>     Resolving patchew.org (patchew.org)... 23.253.156.214
>     Connecting to patchew.org (patchew.org)|23.253.156.214|:443... connected.
>     HTTP request sent, awaiting response... 
>       HTTP/1.1 200 OK
>       Server: nginx/1.12.2
>       Date: Wed, 07 Aug 2019 05:27:12 GMT
> --->  Content-Type: text/plain
>       Content-Length: 254550
>       Connection: keep-alive
>       Vary: Accept-Encoding
>       X-Frame-Options: SAMEORIGIN
>       Strict-Transport-Security: max-age=31536000
>     Length: 254550 (249K) [text/plain]
>     Saving to: ‘index.html?type=message..1’
> 
>     index.html?type=mes 100%[===================>] 248.58K   791KB/s    in 0.3s    
> 
>     2019-08-07 07:27:12 (791 KB/s) - ‘index.html?type=message..1’ saved [254550/254550]
> 
> Should Content-Type be "text/plain; charset=utf-8"?
> 
> _______________________________________________
> Patchew-devel mailing list
> Patchew-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/patchew-devel
> 

Thanks for the report and the suggestion!  I'll push a fix.

Paolo




More information about the Patchew-devel mailing list