[cgi-devel] post data with illegal characters
Status: Beta
Brought to you by:
drrngrvy
From: <jc...@ol...> - 2010-11-02 12:39:06
|
Hello, Some of my POST variable are been added illegal characters at the end. 1986^@^@^@^@^@ insead of 1986 to read those data I am using: for(typename Map::const_iterator i = m.begin(); i != m.end(); ++i) { os << i->first << " = " << i->second << "\n"; } and req.post.pick("task","default"); with the illegal characters been added in both cases. >From the html, I don't see any reason why that would happen. Any idea on how I could fix this problem? Thanks you |