From: Jaroslav Kysela Date: Sun, 21 Oct 2018 08:27:46 +0000 (+0200) Subject: http: terminate path correctly in http_resolve() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc2387248ff425fc4a92a79d21228af7e1702a81;p=thirdparty%2Ftvheadend.git http: terminate path correctly in http_resolve() --- diff --git a/src/http.c b/src/http.c index 57fcdcf02..2d3d72d95 100644 --- a/src/http.c +++ b/src/http.c @@ -181,6 +181,7 @@ http_resolve(http_connection_t *hc, http_path_t *_hp, break; case '?': + *v = 0; /* terminate remaining url */ *argsp = v + 1; break;