| author | Jeff King <peff@peff.net> | |
| Mon, 18 Jul 2011 07:48:51 +0000 (03:48 -0400) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Wed, 20 Jul 2011 18:38:34 +0000 (11:38 -0700) | ||
| commit | 66c8448543432308e8fce5e3e04076e875410f67 | |
| tree | ac99babf4737c855c36576a69254a17f5b5f6b2b | tree | snapshot |
| parent | d79bcd68056250d7c03bf9b12728ee2fd85a0ab3 | commit | diff |
url: decode buffers that are not NUL-terminated
The url_decode function needs only minor tweaks to handle
arbitrary buffers. Let's do those tweaks, which cleans up an
unreadable mess of temporary strings in http.c.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The url_decode function needs only minor tweaks to handle
arbitrary buffers. Let's do those tweaks, which cleans up an
unreadable mess of temporary strings in http.c.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| http.c | diff | blob | history | |
| url.c | diff | blob | history | |
| url.h | diff | blob | history |