• Harris Hancock's avatar
    Implement URL fragment, path, and userinfo component encode functions · 084f5526
    Harris Hancock authored
    According to the WHATWG URL spec, each different component of a URL gets its very own percent encode set, which we've been doing wrong this whole time.
    
    In terms of reserved characters, the fragment set is a subset of the path set, which is a subset of the userinfo set, which is a subset of RFC 2396's reserved set.
    084f5526
encoding-test.c++ 18.5 KB