Title: [144316] trunk/Source/WebCore
Revision
144316
Author
[email protected]
Date
2013-02-28 08:41:59 -0800 (Thu, 28 Feb 2013)

Log Message

[BlackBerry] User credentials is not correctly handled
https://bugs.webkit.org/show_bug.cgi?id=110994

Patch by Alberto Garcia <[email protected]> on 2013-02-28
Reviewed by Yong Li.

WTF::String::utf8 no longer receives a bool, see r134173.

* platform/network/blackberry/CredentialBackingStore.cpp:
(WebCore::CredentialBackingStore::encryptedString):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (144315 => 144316)


--- trunk/Source/WebCore/ChangeLog	2013-02-28 16:06:42 UTC (rev 144315)
+++ trunk/Source/WebCore/ChangeLog	2013-02-28 16:41:59 UTC (rev 144316)
@@ -1,3 +1,15 @@
+2013-02-28  Alberto Garcia  <[email protected]>
+
+        [BlackBerry] User credentials is not correctly handled
+        https://bugs.webkit.org/show_bug.cgi?id=110994
+
+        Reviewed by Yong Li.
+
+        WTF::String::utf8 no longer receives a bool, see r134173.
+
+        * platform/network/blackberry/CredentialBackingStore.cpp:
+        (WebCore::CredentialBackingStore::encryptedString):
+
 2013-02-28  Lianghui Chen  <[email protected]>
 
         [BlackBerry] User credentials are not correctly handled for non-browser usage

Modified: trunk/Source/WebCore/platform/network/blackberry/CredentialBackingStore.cpp (144315 => 144316)


--- trunk/Source/WebCore/platform/network/blackberry/CredentialBackingStore.cpp	2013-02-28 16:06:42 UTC (rev 144315)
+++ trunk/Source/WebCore/platform/network/blackberry/CredentialBackingStore.cpp	2013-02-28 16:41:59 UTC (rev 144316)
@@ -409,7 +409,7 @@
 
 String CredentialBackingStore::encryptedString(const String& plainText) const
 {
-    WTF::CString utf8 = plainText.utf8(true);
+    WTF::CString utf8 = plainText.utf8(String::StrictConversion);
     std::string cipherText;
     BlackBerry::Platform::Encryptor::encryptString(std::string(utf8.data(), utf8.length()), &cipherText);
     return String(cipherText.data(), cipherText.length());
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to