[Webkit-unassigned] [Bug 179475] [SOUP] Case of request headers depends on global state in libsoup

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 9 08:20:17 PST 2017


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

--- Comment #2 from Michael Catanzaro <mcatanzaro at igalia.com> ---
danw    the "cross-origin communication" idea seems a little crazy, but people have done crazier stuff... I'd say file a libsoup bug yeah. you can't just change intern_header_name to be non-case-sensitive though. that would definitely break things
mcatanzaro      What sort of things?
danw    eg, when you call soup_message_headers_get_content_type(), it has to return the content type whether it was specified as "Content-Type" or "CONTENT-type"
I guess if you want to fix it, the fix would be to not intern header names at all. just copy both name and value, and use g_ascii_strcasecmp() rather than pointer equality to compare header names when needed

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171109/e28f8729/attachment-0001.html>


More information about the webkit-unassigned mailing list