[Webkit-unassigned] [Bug 24656] cacheControlContainsNoCache() in ResourceResponseBase.h is wrong

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 17 18:14:40 PDT 2009


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





------- Comment #1 from klobag at gmail.com  2009-03-17 18:14 PDT -------
Another bug in the cpp file,
ResourceResponseBase::parseCacheControlDirectives().

        if ((equalIgnoringCase(directives[i].first, "private") ||
equalIgnoringCase(directives[i].first, "no-cache")) &&
!directives[i].second.isEmpty())
            parseCacheControlDirectiveValues(directives[i].second,
directiveValues);
        else
            directiveValues.append(directives[i].second);

I think the else should append directives[i].first as directives[i].second is
empty.


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



More information about the webkit-unassigned mailing list