]> git.ipfire.org Git - thirdparty/squid.git/commit - src/tests/stub_StatHist.cc
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)
committerSquid Anubis <squid-anubis@squid-cache.org>
Thu, 21 May 2020 18:26:19 +0000 (18:26 +0000)
commit614bd51130b0f7032ed2b8927bed1d73dc87956b
tree5513a455d77a37f535c5b485e79aedc5938f8368
parentbcc5a6376d6f02c961af7c09f3a75c23e9b360af
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