[Webkit-unassigned] [Bug 176116] New: 406 Error for XSLT due to ommission of correct/registered MIME type from Accept header

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 30 12:15:05 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=176116

            Bug ID: 176116
           Summary: 406 Error for XSLT due to ommission of
                    correct/registered MIME type from Accept header
           Product: WebKit
           Version: Safari 10
          Hardware: Macintosh
                OS: OS X 10.11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Andy_Schmidt at HM-Software.com

Steps to reproduce the problem:
1. Navigate to test case: http://staging.anamera.com/3rdPartyBugs/FFdropdown.xml
2. It will request XSLT style sheet FFdropdown.xsl, attempts to server proper MIME type "application/xslt+xml"
3. Results in: Blank Page

Correct behavior would have been for XSLT style sheet to have been loaded and processed by browser.

Reason: Safari does not accept the registered MIME type "application/xslt+xml" (possibly not included in Safari's Accept header?). However if server is mal-configured to send inofficial "text/xsl" MIME type, then Safari will work. Unfortunately text/xsl is NOT a registered MIME type, XSLT 2.0 specs explicitly state that text/xsl should be deprecated, and use of non-standard "text/xsl" triggers issues in newer versions of other browsers.

At minimum, Safari should be standards compliant and the registered MIME type "application/xslt+xml" should be recognized.

PS: Confirmed working correctly (with "application/xslt+xml") in IE, Edge, FireFox...

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170830/fd710a80/attachment.html>


More information about the webkit-unassigned mailing list