Mercurial
diff seobeo/s_web.c @ 135:ffb764d2fcc5
[HgWeb] Updated hg web so it works
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Fri, 09 Jan 2026 11:17:20 -0800 |
| parents | 7a63e41a21fb |
| children | 1c4d8873e846 |
line wrap: on
line diff
--- a/seobeo/s_web.c Fri Jan 09 08:30:35 2026 -0800 +++ b/seobeo/s_web.c Fri Jan 09 11:17:20 2026 -0800 @@ -351,7 +351,18 @@ if (!path_copy) return -1; strcpy(path_copy, raw_path); Dowa_HashMap_Push_Arena(*pp_map, "Path", path_copy, p_arena); - + + // Store full query string for proxying + if (query_str && *query_str) + { + char *qs_copy = Dowa_Arena_Allocate(p_arena, strlen(query_str) + 1); + if (qs_copy) + { + strcpy(qs_copy, query_str); + Dowa_HashMap_Push_Arena(*pp_map, "QueryString", qs_copy, p_arena); + } + } + // GET Params if (query_str && *query_str) {