Code

strbuf: add strbuf_add*_urlencode
authorJeff King <peff@peff.net>
Sat, 10 Dec 2011 10:34:20 +0000 (05:34 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Dec 2011 00:08:27 +0000 (16:08 -0800)
commitc505116b91d3c92f0c3066cb9806773d2df11088
tree5a78822db20c9dbd81557fb376057eac1e1b288e
parent6320358e31d42f25fa4ac5eb4e72574630de1692
strbuf: add strbuf_add*_urlencode

This just follows the rfc3986 rules for percent-encoding
url data into a strbuf.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
strbuf.c
strbuf.h