[Webkit-unassigned] [Bug 82041] [BlackBerry]Missing cookies from HTTP response header in Network tab of Web Inspector.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 25 23:19:34 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=82041


Leo Yang <leo.yang at torchmobile.com.cn> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |leo.yang at torchmobile.com.cn




--- Comment #4 from Leo Yang <leo.yang at torchmobile.com.cn>  2012-03-25 23:19:34 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> > (From update of attachment 133455 [details] [details])
> > View in context: https://bugs.webkit.org/attachment.cgi?id=133455&action=review
> > 
> > > Source/WebCore/platform/network/blackberry/NetworkJob.cpp:319
> > > +
> > > +        if (m_response.httpHeaderFields().contains("Set-Cookie"))
> > > +            return m_response.setHTTPHeaderField(key, m_response.httpHeaderField(key) + "\r\n" + value);
> > 
> > m_response.setHTTPHeaderField(key, value) has been called at the end of this function. Why this is needed here? Are you trying to catenate all 'Set-Cookie' headers to one?
> 
> Yes, I catenate them so that overwrite doesn't happen.

But you are setting "Set-Cookie" header twice for the first "Set-Cookie" header, which is a waste. Why use "\r\n" as delimiter? What do the other ports use?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list