diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/server/web_client.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/web/server/web_client.c b/web/server/web_client.c index abd37a8f49..908e3a6a96 100644 --- a/web/server/web_client.c +++ b/web/server/web_client.c @@ -1065,9 +1065,6 @@ static inline HTTP_VALIDATION http_request_validate(struct web_client *w) { // copy the URL - we are going to overwrite parts of it // TODO -- ideally we we should avoid copying buffers around strncpyz(w->last_url, w->decoded_url, NETDATA_WEB_REQUEST_URL_SIZE); - if (w->url_search_path && w->separator) { - *w->url_search_path = 0x00; - } #ifdef ENABLE_HTTPS if ( (!web_client_check_unix(w)) && (netdata_srv_ctx) ) { if ((w->ssl.conn) && ((w->ssl.flags & NETDATA_SSL_NO_HANDSHAKE) && (web_client_is_using_ssl_force(w) || web_client_is_using_ssl_default(w)) && (w->mode != WEB_CLIENT_MODE_STREAM)) ) { |