diff options
-rw-r--r-- | icespider/fcgi/cgiRequestBase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/icespider/fcgi/cgiRequestBase.cpp b/icespider/fcgi/cgiRequestBase.cpp index 2af4b04..b818285 100644 --- a/icespider/fcgi/cgiRequestBase.cpp +++ b/icespider/fcgi/cgiRequestBase.cpp @@ -46,12 +46,12 @@ namespace IceSpider { if (eq < amp) { *eq = '\0'; *amp = '\0'; - qsmap.insert({ eq, Env( eq + 1, amp ) }); + qsmap.insert({ start, Env( eq + 1, amp ) }); } else { *eq = '\0'; *amp = '\0'; - qsmap.insert({ eq, Env( eq + 1, eq + 1 ) }); + qsmap.insert({ start, Env( eq + 1, eq + 1 ) }); } start = amp + 1; } |