[Webkit-unassigned] [Bug 220780] Null bytes aren't percent-encoded on urlencoded over POST

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 21 05:21:30 PDT 2021


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

--- Comment #7 from Andreu Botella <abb at randomunok.com> ---
The WPT PR has now been merged for over a month, and as I explained in comment #6, the issue is not with Firefox and Chrome using only UTF-8. I'm not very familiar with WebKit code, but it seems like FormData::appendNonMultiPartKeyValuePairItems ultimately defers to FormDataBuilder::appendFormURLEncoded, which aims to implement the application/x-www-form-urlencoded percent-encode set (https://url.spec.whatwg.org/#application-x-www-form-urlencoded-percent-encode-set) but apparently misses the fact that the strchr in line 93 can also match a null character.

-- 
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/20210521/60f935f6/attachment.htm>


More information about the webkit-unassigned mailing list