bug-librejs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-librejs] Borked character coding when whitelisting a page


From: Alexander Berntsen
Subject: [Bug-librejs] Borked character coding when whitelisting a page
Date: Thu, 21 Mar 2013 17:33:16 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130226 Thunderbird/17.0.3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Steps to reproduce:
  1. Whitelist *.wikipedia.org*.
  2. Visit <https://en.wikipedia.org/wiki/Wikipedia>.
  3. Observe how several characters in the Languages sidebar are broken.

Here's an excerpt from #librejs on Freenode,
lduros | quite ironically, it doesn't go through the LibreJS parser when
        you whitelist it
lduros | so the issue lays with the way the stream is received and then
        passed on to the Firefox rendering engine as usual
lduros | if it's not whitelisted it looks fine
lduros | so just to explain to you how this works
lduros | when it's not whitelisted
lduros | librejs takes the html reponse, parses it to a DOM after
        figuring out the character encoding
lduros | then serializes it again to a stream
lduros | but when you whitelist it, it catches the stream but lets it go
        instantaneously without doing anything
lduros | that's where is issue lays
lduros | it passes on the stream but somehow the character encoding get
        wrong
lduros | alexander__b: do you want to write a bug report for this?
lduros | I'll take care of this for sure, just need to figure out why
lduros | the meta charset is within 512 bytes it seems

- -- 
Alexander
address@hidden
http://plaimi.net/~alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlFLNkwACgkQRtClrXBQc7U1kwD/YBulYXeKwdLTIyfaNIUGEi02
erdJXUv9me+QB40MvFsA/RsgAwK/HR0fS71EU1EJVDH+LcIgPV7KppQveHP2D1OH
=TKWJ
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]