2006-10-08 Anders Carlsson <acarlsson@apple.com>
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 8 Oct 2006 23:33:50 +0000 (23:33 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 8 Oct 2006 23:33:50 +0000 (23:33 +0000)
        Reviewed by Darin.

        * page/Frame.cpp:
        (WebCore::Frame::submitForm):
        No need to use latin1() here.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16898 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/page/Frame.cpp

index 7dcf53444743cf3c2277110f236bb27fd4547583..8f8b84befb2e468927b1182a6532813f8af204a6 100644 (file)
@@ -1,3 +1,11 @@
+2006-10-08  Anders Carlsson  <acarlsson@apple.com>
+
+        Reviewed by Darin.
+
+        * page/Frame.cpp:
+        (WebCore::Frame::submitForm):
+        No need to use latin1() here.
+
 2006-10-08  Nikolas Zimmermann  <zimmermann@kde.org>
 
         Reviewed by Darin.
 2006-10-08  Nikolas Zimmermann  <zimmermann@kde.org>
 
         Reviewed by Darin.
index 92e9e80e401093c76814ddbfcdd897a46f96b3c7..09f6a794e3411b13e6f50fe076814caef6da528d 100644 (file)
@@ -1633,7 +1633,7 @@ void Frame::submitForm(const char *action, const String& url, const FormData& fo
       DeprecatedString query = u.query();
       if (!query.isEmpty())
           query += '&';
       DeprecatedString query = u.query();
       if (!query.isEmpty())
           query += '&';
-      query += String::sprintf("&body=%s", bodyEnc.latin1()).deprecatedString();
+      query += "body=" + bodyEnc;
       
       u.setQuery(query);
   } 
       
       u.setQuery(query);
   }