https://bugs.webkit.org/show_bug.cgi?id=110994
Patch by Alberto Garcia <agarcia@igalia.com> 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):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@144316
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2013-02-28 Alberto Garcia <agarcia@igalia.com>
+
+ [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 <liachen@rim.com>
[BlackBerry] User credentials are not correctly handled for non-browser usage
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());