From d67b92d0f2d14b56939356c21a779ce8307b4328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Sun, 19 Nov 2006 15:38:47 +0000 Subject: Don't escape %, hopefully the client sending the data is already escaping some stuff, included %. This unbreaks URLs that contains "%20" already instead of spaces. CVS patchset: 8382 CVS date: 2006/11/19 15:38:47 --- src/input/http_helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input/http_helper.c b/src/input/http_helper.c index 9d469a757..4bcb734e2 100644 --- a/src/input/http_helper.c +++ b/src/input/http_helper.c @@ -19,7 +19,7 @@ * * URL helper functions * - * $Id: http_helper.c,v 1.8 2006/11/10 23:47:48 dgp85 Exp $ + * $Id: http_helper.c,v 1.9 2006/11/19 15:38:47 dgp85 Exp $ */ #ifdef HAVE_CONFIG_H @@ -159,7 +159,7 @@ int _x_parse_url (char *url, char **proto, char** host, int *port, *uri[0] = '/'; strcpy(*uri + 1, start); } else { - static const char toescape[] = " %#"; + static const char toescape[] = " #"; char *it = start; unsigned int escapechars = 0; -- cgit v1.2.3