2011-02-10 Alexey Proskuryakov <ap@apple.com>
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Feb 2011 12:42:43 +0000 (12:42 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Feb 2011 12:42:43 +0000 (12:42 +0000)
commit4d27cbd7d148f6d2cabad2f299cb998005ccfe19
tree9434944964dbfd2a871f14409c43edac1bb03b13
parent0973985d8f689739ce153b8cb78e4a73d216f9cf
2011-02-10  Alexey Proskuryakov  <ap@apple.com>

        Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=50306
        <rdar://problem/8976152> REGRESSION: WebChromeClient::shouldReplaceWithGeneratedFileForUpload()
        uses an initialized result value (breaks form submission with clang-built WebKit)

        No new test, because I can't reproduce the observable effect with my gcc build.

        * platform/network/FormData.cpp: (WebCore::FormData::appendKeyValuePairItems): Restore an
        empty path check - an empty path was causing an exception in Foundation.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78202 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/network/FormData.cpp