From a6bf1ee0d0e238cb13d916c019bc231986d44401 Mon Sep 17 00:00:00 2001 From: default Date: Thu, 7 Nov 2024 20:47:37 +0100 Subject: Use the raw_path for proxying (as some media may include ? arguments). --- xs_fcgi.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xs_fcgi.h') diff --git a/xs_fcgi.h b/xs_fcgi.h index 6d3b030..c79121f 100644 --- a/xs_fcgi.h +++ b/xs_fcgi.h @@ -179,6 +179,8 @@ xs_dict *xs_fcgi_request(FILE *f, xs_str **payload, int *p_size, int *fcgi_id) req = xs_dict_append(req, "method", v); else if (strcmp(k, "REQUEST_URI") == 0) { + req = xs_dict_append(req, "raw_path", v); + xs *pnv = xs_split_n(v, "?", 1); /* store the path */ -- cgit v1.2.3