WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
124815
[GTK] jaguarusa.com displayed as plain text instead of HTML
https://bugs.webkit.org/show_bug.cgi?id=124815
Summary
[GTK] jaguarusa.com displayed as plain text instead of HTML
tesoro302
Reported
2013-11-24 02:43:56 PST
This page crashes consistently for me on webkit-gtk-2.2.2 on midori and epiphany:
http://www.pressure.co.uk/store/PS82/lee-perry-the-upsetters-roaring-lion/
This page only displays code:
http://www.jaguarusa.com
Attachments
Add attachment
proposed patch, testcase, etc.
Alberto Garcia
Comment 1
2013-11-24 11:08:21 PST
Thanks for the report, we need two separate bugs, though :) since these are completely different problems. I'll take care of that. The crash doesn't happen on the master branch. The second problem seems to happen because the server doesn't send the Content-Type header and webkit treats it as text/plain.
Alberto Garcia
Comment 2
2013-11-24 15:03:14 PST
Okay, the problem here seems to be: 1) there's no Content-Type header 2) libsoup's content sniffer fails to detect that it's an html page because the initial "<!DOCTYPE html" is ignored due to the extra whitespace at the beginning.
https://git.gnome.org/browse/libsoup/tree/libsoup/soup-content-sniffer.c?h=gnome-2-30#n98
(that's the first item in types_table, see how has_ws is FALSE).
Alberto Garcia
Comment 3
2013-11-24 15:53:02 PST
libsoup bug:
https://bugzilla.gnome.org/show_bug.cgi?id=715126
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug