Fix Bug 23871: Assertion failure beneath WebCore::openFunc when running http...
authoraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Feb 2009 21:12:32 +0000 (21:12 +0000)
committeraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Feb 2009 21:12:32 +0000 (21:12 +0000)
commit5cfe9a78add98ee0f58c6e8c88fcb9281027e401
tree1237c6172c2a038350829cc649da55a7e8b1297c
parente7379d8f87860260054df2d098bd0b512238205a
    Fix Bug 23871: Assertion failure beneath WebCore::openFunc when running http/tests/security/xss-DENIED-xsl-document-redirect.xml

        <https://bugs.webkit.org/show_bug.cgi?id=23871>

        Reviewed by Alexey Proskuryakov.

        Covered by existing tests.

        * dom/XMLTokenizerLibxml2.cpp:
        (WebCore::openFunc): Use the two-parameter KURL constructor so that
        the string will be parsed. libxml2 gives us a UTF-8-encoded string
        that needs to be parsed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@40831 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/dom/XMLTokenizerLibxml2.cpp