cppsp: fix bug in querystring parsing