WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
128201
webKitCookieStorageCopyRequestHeaderFieldsForURL builds an empty Cookie header when there are no cookies
https://bugs.webkit.org/show_bug.cgi?id=128201
Summary
webKitCookieStorageCopyRequestHeaderFieldsForURL builds an empty Cookie heade...
Alexey Proskuryakov
Reported
2014-02-04 11:50:12 PST
On platforms that use our webKitCookieStorageCopyRequestHeaderFieldsForURL shim, we fail two regression tests: http/tests/navigation/ping-same-origin.html http/tests/navigation/ping-cross-origin.html This is because we send an empty Cookie header. We shouldn't send one when there are no cookies.
Attachments
proposed fix
(1.65 KB, patch)
2014-02-04 11:52 PST
,
Alexey Proskuryakov
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2014-02-04 11:52:20 PST
Created
attachment 223150
[details]
proposed fix
Sam Weinig
Comment 2
2014-02-04 14:27:38 PST
Comment on
attachment 223150
[details]
proposed fix View in context:
https://bugs.webkit.org/attachment.cgi?id=223150&action=review
> Source/WebKit2/Shared/mac/CookieStorageShim.mm:64 > + if (cookies.isNull())
I think we usually do if (!cookies)
WebKit Commit Bot
Comment 3
2014-02-04 15:29:06 PST
Comment on
attachment 223150
[details]
proposed fix Clearing flags on attachment: 223150 Committed
r163409
: <
http://trac.webkit.org/changeset/163409
>
WebKit Commit Bot
Comment 4
2014-02-04 15:29:08 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.
Top of Page
Format For Printing
XML
Clone This Bug