Merge pull request #6489 from cz111000/patch-1
Update ProxyAcceptCookiePolicy.java
This commit is contained in:
commit
82f402820a
|
@ -17,8 +17,8 @@ public class ProxyAcceptCookiePolicy implements CookiePolicy {
|
|||
host = uri.getHost();
|
||||
}
|
||||
|
||||
if (!HttpCookie.domainMatches(acceptedProxy, host)) {
|
||||
return false;
|
||||
if (HttpCookie.domainMatches(acceptedProxy, host)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(uri, cookie);
|
||||
|
|
Loading…
Reference in New Issue