Skip to content

Commit beb9336

Browse files
S1artiemagreenblatt
authored andcommitted
Fix HTTP auth credential request forwarding of realm and scheme params
1 parent 1fdf12d commit beb9336

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

native/request_handler.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ bool RequestHandler::GetAuthCredentials(CefRefPtr<CefBrowser> browser,
120120
ScopedJNIBrowser jbrowser(env, browser);
121121
ScopedJNIString joriginUrl(env, origin_url);
122122
ScopedJNIString jhost(env, host);
123-
ScopedJNIString jrealm(env, host);
124-
ScopedJNIString jscheme(env, host);
123+
ScopedJNIString jrealm(env, realm);
124+
ScopedJNIString jscheme(env, scheme);
125125
ScopedJNIAuthCallback jcallback(env, callback);
126126
jboolean jresult = JNI_FALSE;
127127

0 commit comments

Comments
 (0)