• Harris Hancock's avatar
    Implement application/x-www-form-urlencoded encode/decode functions · 4982c9e8
    Harris Hancock authored
    These are almost the same as {encode,decode}UriComponent, differing only in the set of characters they consider reserved, and their treatment of spaces.
    
    I wasn't sure what to name them -- encodeWwwForm() seemed least bad.
    
    For the encode side, I added a completely separate function -- it seemed like more trouble than it was worth trying to integrate the changes into encodeUriComponent(). For the decode side, I integrated the change (plus-to-space) into decodeBinaryUriComponent(), since that function is a bit longer, and the change was trivial.
    4982c9e8
Name
Last commit
Last update
..
benchmark Loading commit data...
capnp Loading commit data...
kj Loading commit data...
CMakeLists.txt Loading commit data...