Bug 110628

Summary: [BlackBerry] cookies set on a 401 response are not included when retrying with credentials
Product: WebKit Reporter: Joe Mason <joenotcharles>
Component: Page LoadingAssignee: Joe Mason <joenotcharles>
Status: RESOLVED FIXED    
Severity: Normal CC: mifenton, rwlbuis, tonikitoo, webkit.review.bot, yong.li.webkit
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
fix
none
patch with style fixes none

Joe Mason
Reported 2013-02-22 11:13:29 PST
When a 401 or 407 response includes a Set-Cookie header, it is saved in the cookie jar. But after querying the user for auth credentials, the followup request re-uses the cookies from the original request rather than rereading them from the cookie jar, so the new cookie is not included. This breaks some sites that use cookies for custom auth schemes.
Attachments
fix (13.21 KB, patch)
2013-02-22 11:14 PST, Joe Mason
no flags
patch with style fixes (12.88 KB, patch)
2013-02-22 11:48 PST, Joe Mason
no flags
Joe Mason
Comment 1 2013-02-22 11:14:40 PST
Joe Mason
Comment 2 2013-02-22 11:48:32 PST
Created attachment 189801 [details] patch with style fixes
WebKit Review Bot
Comment 3 2013-02-22 14:18:30 PST
Comment on attachment 189801 [details] patch with style fixes Clearing flags on attachment: 189801 Committed r143796: <http://trac.webkit.org/changeset/143796>
WebKit Review Bot
Comment 4 2013-02-22 14:18:33 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.