]> git.ipfire.org Git - thirdparty/squid.git/commit
RFC 1738 encoder upgraded action flags
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 5 Mar 2011 00:32:41 +0000 (13:32 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 5 Mar 2011 00:32:41 +0000 (13:32 +1300)
commitafbdbe91d34a09a1d777732e30b1d6f100d51afb
tree5fd4fd36b363665deb0f90ffe4a5915d432ccd5c
parentd48a52bf8807659fb9a8c9c02749ae6ebc4ced89
RFC 1738 encoder upgraded action flags

This updates the encoder flags parameter to allow selection of individual
character sets of CTRLS, UNSAFE, and RESERVED.

Also, to permit selective omission of the % and space characters from the
UNSAFE set.

Also, an optimization is added to skip SAFE characters on a short-circuit.
include/rfc1738.h
lib/rfc1738.c
lib/tests/testRFC1738.cc