
this modifies escape_rfc3986() to escape '%' itself, and to properly track the buffer size and nul out the final byte, not some random byte that may actually be unmapped.
this modifies escape_rfc3986() to escape '%' itself, and to properly track the buffer size and nul out the final byte, not some random byte that may actually be unmapped.