[haiku-bugs] Re: [Haiku] #14817: Webpositive cannot render html file

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Fri, 11 Jan 2019 06:34:43 -0000

#14817: Webpositive cannot render html file
----------------------------------------+----------------------------
   Reporter:  jackburton                |      Owner:  pulkomandy
       Type:  bug                       |     Status:  new
   Priority:  normal                    |  Milestone:  Unscheduled
  Component:  Applications/WebPositive  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by pulkomandy):

 This happens when the MIME sniffing misidentifies an HTML file as XHTML.
 WebKit relies on the mime attribute for local files to decide which parser
 (html or xhtml) to use. I don't know what other browsers do for local
 files.

 We can improve our sniffing rules or change our strategy.

 Online this doesn't matter, because we instead trust the MIME type given
 by the web server, which is usually set properly.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14817#comment:2>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: