From a9d72860e452dff0455370a7feaa6e0cb4a7d085 Mon Sep 17 00:00:00 2001 From: Grace Kloba <> Date: Wed, 8 Apr 2009 18:57:56 -0700 Subject: AI 145241: Automated g4 rollback of changelist 144888. *** Reason for rollback *** Browser home page won't load. *** Original change description *** Given a url from java, percent encode the url to maintain any encoding. This fixes the loadData call when the data has non-ascii values. Automated import of CL 145241 --- WebKit/android/jni/WebCoreFrameBridge.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/WebKit/android/jni/WebCoreFrameBridge.cpp b/WebKit/android/jni/WebCoreFrameBridge.cpp index 3eeeb7f..91103fb 100644 --- a/WebKit/android/jni/WebCoreFrameBridge.cpp +++ b/WebKit/android/jni/WebCoreFrameBridge.cpp @@ -789,8 +789,7 @@ static void LoadUrl(JNIEnv *env, jobject obj, jstring url) WebCore::Frame* pFrame = GET_NATIVE_FRAME(env, obj); LOG_ASSERT(pFrame, "nativeLoadUrl must take a valid frame pointer!"); - WebCore::String webcoreUrl = - WebCore::encodeWithURLEscapeSequences(to_string(env, url)); + WebCore::String webcoreUrl = to_string(env, url); WebCore::ResourceRequest request(webcoreUrl); LOGV("LoadUrl %s", webcoreUrl.latin1().data()); pFrame->loader()->load(request, false); -- cgit v1.1