Reviewed by Hyatt.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 18 Feb 2007 12:48:44 +0000 (12:48 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 18 Feb 2007 12:48:44 +0000 (12:48 +0000)
commit6f7da1820605347f9e6c9c865ed6a6ecf72c136f
tree144d01c54c4345ce30e9dd5a9abaedc452a9ca46
parentdbb8126df641c776e2c31e43f80891acedea3128
    Reviewed by Hyatt.

        http://bugs.webkit.org/show_bug.cgi?id=12799
        REGRESSION: Webpage doesn't load correctly (www.cincinnati.com
        redirects to the wrong URL)

        Test: http/tests/misc/refresh-meta-with-newline.html

        * platform/network/HTTPParsers.cpp:
        (WebCore::skipWhiteSpace):
        (WebCore::parseHTTPRefresh):
        * platform/network/HTTPParsers.h:
        In HTML, all characters with codes <= 0x20 are whitespace, while in
        HTTP, only space and tab are such.

        * dom/Document.cpp:
        (WebCore::Document::processHttpEquiv):
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::receivedFirstData):
        Pass parseHTTPRefresh() a flag telling about the source of data.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19691 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/misc/refresh-meta-with-newline-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/misc/refresh-meta-with-newline.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/dom/Document.cpp
WebCore/loader/FrameLoader.cpp
WebCore/platform/network/HTTPParsers.cpp
WebCore/platform/network/HTTPParsers.h