Bug#564311: epiphany-webkit: fails with URLs containing a % char

Josselin Mouette joss at debian.org
Sat Jan 9 09:36:50 UTC 2010


severity 564311 minor
reassign 564311 libwebkit-1.0-2
thanks

Le samedi 09 janvier 2010 à 01:35 -0300, Alvaro Herrera a écrit : 
> I just noticed that for this URL, epiphany-webkit displays an error
> page:
> http://archives.postgresql.org/msgtxt.php?id=BF7C63B0.3C0F%dpage@vale-housing.co.uk
> 
> I haven't checked whether this applies to other uses of the % char, but
> I suspect there's a bug in the URL parser here.  Obviously the "%7e"
> stuff (and other hex escapes, I guess) work fine, but since this one is
> not a valid hex digit, it errors out.

This URL does not conform to RFC 3986:
        Because the percent ("%") character serves as the indicator for
        percent-encoded octets, it must be percent-encoded as "%25" for
        that octet to be used as data within a URI. 

Note the “must” - and this is not restricted to cases where it is not
followed by 2 hexadecimal characters.

> Firefox is able to see that page without a problem.

Firefox is able to display lots of broken pages. It’s nice to be able to
do that, but it’s at best a minor bug.

Cheers,
-- 
 .''`.      Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `-     future understand things”  -- Jörg Schilling
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20100109/8ea9663f/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list