1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

client proxy: offset query args

This commit is contained in:
Andy Green 2018-10-13 08:44:07 +08:00
parent d03c57b87f
commit b5227df2d7

View file

@ -1255,7 +1255,7 @@ lws_http_action(struct lws *wsi)
n = lws_snprintf(rpath, sizeof(rpath) - 1, "/%s/%s",
pslash + 1, uri_ptr +
hit->mountpoint_len);
hit->mountpoint_len) - 2;
lws_clean_url(rpath);
na = lws_hdr_total_length(wsi, WSI_TOKEN_HTTP_URI_ARGS);
if (na) {