[Webkit-unassigned] [Bug 35227] New: HTTPHeaderMap::add(const char*, const String&) does not work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 21 21:03:06 PST 2010


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

           Summary: HTTPHeaderMap::add(const char*, const String&) does
                    not work
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yutak at chromium.org


When I call HTTPHeaderMap::add(const char*, const String&) (for example,
headerMap.add("Field-Name", String("field value"))), the field value is not
recorded in the hash map, and I only get a null string by looking up the header
field.

When I use HTTPHeaderMap::add(const AtomicString&, const String&), everything
works as expected.

This is due to a bug in HashMapTranslatorAdapter::translate(), which does not
save the mapped value.

-- 
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