RESOLVED FIXED 4359
Failure of XPath/document() within XSLT
https://bugs.webkit.org/show_bug.cgi?id=4359
Summary Failure of XPath/document() within XSLT
Michael Sinz
Reported 2005-08-09 12:47:59 PDT
Loading a relative path document (the recommended mechanism) within an XSLT transform fails in Safari in 10.3.9 and 10.4 systems. This can be easily seen in the http://svn.sinz.com/browser-tests/test3/index.xml page, which uses the document() mechanism to load some shared template/configuration data from the server rather than having it within each of the XSLT documents. This failure may be related to the same problem in bug #4054 where the XMLHttpRequest object is blocked from sending a request back to the originating server if the page was an XML/XSLT based page. The exact same code works fine if the page was XSLT transformed on the server and thus only HTML got served to the client (and JavaScript) If this is related to bug #4054 (which I believe it is), I would classify this as a major bug as it causes all manner of downstream problems and may have actual web security model implications which may even be useable in an exploit (I have not had time to try to build such an exploit if it is even possible - the concept is that with XML/XSLT and JavaScript within the generated HTML page, it may be that the security context would show up as local, thus allowing access to items that would otherwise should not be possible)
Attachments
Alexey Proskuryakov
Comment 1 2005-10-26 13:04:19 PDT
Reporter, please verify this and related bugs against ToT. Some of them seem to be fixed - maybe by a fix in bug 5219, but I'm far from being sure. If it's possible to make simplified standalone versions of the test pages, I think it would still be useful to have them as regression tests.
Michael Sinz
Comment 2 2005-10-26 19:47:31 PDT
If you think the fix for bug 5219 has fixed this, maybe it fixed bug 4054?
Note You need to log in before you can comment on or make changes to this bug.