diff options
| author | default <nobody@localhost> | 2024-11-07 20:47:37 +0100 |
|---|---|---|
| committer | default <nobody@localhost> | 2024-11-07 20:47:37 +0100 |
| commit | a6bf1ee0d0e238cb13d916c019bc231986d44401 (patch) | |
| tree | 5b37f54ed7818854febae4fdf656e1a4a2b16076 /xs_fcgi.h | |
| parent | e4e58d22224d37b9db760eda5bb25a76c3eea5b2 (diff) | |
Use the raw_path for proxying (as some media may include ? arguments).
Diffstat (limited to 'xs_fcgi.h')
| -rw-r--r-- | xs_fcgi.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 */ |