lib/util Add rfc1738 escape/unescape code from Squid
authorAndrew Bartlett <abartlet@samba.org>
Thu, 29 Oct 2009 06:09:49 +0000 (17:09 +1100)
committerJeremy Allison <jra@samba.org>
Fri, 13 Nov 2009 00:11:42 +0000 (16:11 -0800)
commit4e4c75422f07447622d30192c93ffbd4a7874bc2
treec85839fba1963f3840216eb239c552be9eb83bcf
parent439050fb40e5ce9c476924b01f2254b9aab35a3e
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)
lib/util/rfc1738.c [new file with mode: 0644]