| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| @@ -71,12 +71,19 @@ public boolean exitAfterIntercept(Channel channel, | |||
|
|
|||
| // This MUST BE called before Redirect30xInterceptor because latter assumes cookie store is already updated | |||
| CookieStore cookieStore = config.getCookieStore(); | |||
There was a problem hiding this comment.
CookieStore cookieStore = request.getCookieStore() != null ? request.getCookieStore() : config.getCookieStore() ;
Sorry, something went wrong.
There was a problem hiding this comment.
I already updated.
Sorry, something went wrong.
| CookieStore cookieStore = config.getCookieStore(); | ||
| if (cookieStore != null) { | ||
| CookieStore requestCookieStore = request.getCookieStore(); | ||
| if (cookieStore != null || requestCookieStore != null) { |
There was a problem hiding this comment.
Please restore
Sorry, something went wrong.
There was a problem hiding this comment.
Restored
Sorry, something went wrong.
|
|
||
| if (requestCookieStore != null) { | ||
| requestCookieStore.add(request.getUri(), c); | ||
| } |
There was a problem hiding this comment.
Please restore
Sorry, something went wrong.
There was a problem hiding this comment.
Restored
Sorry, something went wrong.
|
@tranchitam Did you get a chance to have a look at my comments. The idea is to be able to override the global CookieStore with one scoped at request level. Those 2 are exclusive and only one should be updated. |
Sorry, something went wrong.
… into feature/enable-cookie-store-at-request-level
|
Hi @slandelle, I already updated the pull request to fix your comments. Please take a look. Thanks |
Sorry, something went wrong.
|
Also there is #1610 now, however seems liks it's just re-using the commits from this pull request here. |
Sorry, something went wrong.
|
@slandelle Could you please take a look to this one? |
Sorry, something went wrong.
|
Hi @slandelle, @TomGranot have you got time to take a look into this pull request again? If there is no issue, we really want to merge this PR to master as soon as possible. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Motivations:
Changes:
Results:
Related issue:
#1565