diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-11-19 15:38:47 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-11-19 15:38:47 +0000 |
commit | d67b92d0f2d14b56939356c21a779ce8307b4328 (patch) | |
tree | 1f12d70797e8e6441111318295818719b84038de /src | |
parent | 46d62960b97c6970864e83463d0ba4edd8c325be (diff) | |
download | xine-lib-d67b92d0f2d14b56939356c21a779ce8307b4328.tar.gz xine-lib-d67b92d0f2d14b56939356c21a779ce8307b4328.tar.bz2 |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/input/http_helper.c | 4 |
1 files 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; |