diff --git a/lib/libfetch/fetch.c b/lib/libfetch/fetch.c index a081520143e..8d92bbcb780 100644 --- a/lib/libfetch/fetch.c +++ b/lib/libfetch/fetch.c @@ -376,7 +376,7 @@ fetchParseURL(const char *URL) /* password */ if (*q == ':') - q = fetch_pctdecode(u->pwd, ++q, URL_PWDLEN); + q = fetch_pctdecode(u->pwd, q + 1, URL_PWDLEN); p++; } else {