aboutsummaryrefslogtreecommitdiff
path: root/src/libhttpd
diff options
context:
space:
mode:
Diffstat (limited to 'src/libhttpd')
-rw-r--r--src/libhttpd/parsereq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libhttpd/parsereq.c b/src/libhttpd/parsereq.c
index ce487c80..862d5338 100644
--- a/src/libhttpd/parsereq.c
+++ b/src/libhttpd/parsereq.c
@@ -130,6 +130,8 @@ hparsereq(HConnect *c, int timeout)
c->req.uri = uri;
c->req.search = search;
+ if(search)
+ c->req.searchpairs = hparsequery(c, hstrdup(c, search));
return 1;
}