OSDN Git Service
(root)
/
android-x86
/
external-webkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f5143f
)
Turns out args should not be decoded twice.
author
Patrick Scott
<phanna@android.com>
Thu, 17 Mar 2011 17:43:29 +0000
(13:43 -0400)
committer
Patrick Scott
<phanna@android.com>
Thu, 17 Mar 2011 17:43:29 +0000
(13:43 -0400)
This should help out in some cases with redirect/login loops.
Bug:
4110115
Change-Id: I42fff7e9227423b9b5ce94234ad6d606234fe252
WebKit/android/jni/WebCoreFrameBridge.cpp
patch
|
blob
|
history
diff --git
a/WebKit/android/jni/WebCoreFrameBridge.cpp
b/WebKit/android/jni/WebCoreFrameBridge.cpp
index
49eac3c
..
7d1adb0
100644
(file)
--- a/
WebKit/android/jni/WebCoreFrameBridge.cpp
+++ b/
WebKit/android/jni/WebCoreFrameBridge.cpp
@@
-1023,9
+1023,6
@@
void WebFrame::autoLogin(const std::string& loginHeader)
if (realm.isEmpty() || args.isEmpty())
return;
- // Args is double-encoded as it contains urls.
- args = WebCore::decodeURLEscapeSequences(args);
-
JNIEnv* env = getJNIEnv();
jstring jRealm = wtfStringToJstring(env, realm, true);
jstring jAccount = wtfStringToJstring(env, account);