lib/util Add rfc1738 escape/unescape code from Squid
commit388bf0dd67de0a48b0eec48156e6a2af17f35023
authorAndrew Bartlett <abartlet@samba.org>
Thu, 29 Oct 2009 06:09:49 +0000 (29 17:09 +1100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 26 Nov 2009 10:40:42 +0000 (26 11:40 +0100)
treec85839fba1963f3840216eb239c552be9eb83bcf
parent1590e6f98d69f2ade72da87170d5f8ef14c25b25
lib/util Add rfc1738 escape/unescape code from Squid

This is intended to replace our rfc1738_unescape(), and give us an
rfc1738_escape implementation (and hopefully is better tested and more
secure).

Andrew Bartlett
(cherry picked from commit 87195f55de771546ea74c0ab06d882f900588099)
(cherry picked from commit 4e4c75422f07447622d30192c93ffbd4a7874bc2)
lib/util/rfc1738.c [new file with mode: 0644]