]> git.ipfire.org Git - thirdparty/squid.git/commit
Add flexible RFC 3986 URI encoder (#617)
authorAmos Jeffries <yadij@users.noreply.github.com>
Thu, 21 May 2020 14:42:02 +0000 (14:42 +0000)
committerAmos Jeffries <yadij@users.noreply.github.com>
Fri, 22 May 2020 10:42:29 +0000 (22:42 +1200)
commit7b75100e61cbed7a59360332197a9a811ddfe1b7
treef620df77be6c21408100ffe5dd3e2b7f6c5aa7f9
parent66f85158b1947105716a4a27868b974d2635441b
Add flexible RFC 3986 URI encoder (#617)

Use AnyP::Uri namespace to self-document encoder scope and
coding type.

Use SBuf and CharacterSet for more flexible input and actions
than previous RFC 1738 encoder. Allowing callers to trivially
determine which characters are encoded.
src/anyp/Uri.cc
src/anyp/Uri.h
src/base/CharacterSet.cc
src/base/CharacterSet.h
src/clients/Client.cc
src/tests/stub_StatHist.cc
src/tests/stub_libanyp.cc