From: Felix Fietkau Date: Fri, 21 Mar 2014 23:56:16 +0000 (+0100) Subject: fix double / on requests to root X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuclient.git;a=commitdiff_plain;h=385651080cd88369ae4e71d8b80f5c0e4b952fd5;hp=7e4054d4dbf48a9b6a3ff9fddbc4c5afc1836b71 fix double / on requests to root Signed-off-by: Felix Fietkau --- diff --git a/uclient.c b/uclient.c index 5f27ec9..095fc93 100644 --- a/uclient.c +++ b/uclient.c @@ -45,7 +45,7 @@ static struct uclient_url *uclient_get_url(const char *url_str) *next = 0; url->location = next + 1; } else { - url->location = "/"; + url->location = ""; } url->host = url_buf;