Form string data url encoded by some browsers .net

Posted by nLL on Stack Overflow See other posts from Stack Overflow or by nLL
Published on 2009-10-19T08:40:36Z Indexed on 2010/04/02 20:03 UTC
Read the original article Hit count: 218

Filed under:
|

Hi, i came accross with a peculiar issue on my mobile site. some phones/gateways sends form post data as url encoded and a text such as

"hey how are you?"

in a form with method post

stored in the db as

"hey+how+are+you%3f"

This is not the issue with many browsers but one single network from USA called Metro. I notice different phone models acting same way so i assue this is an issue with proxy/gateway.

would simply putting

_msg = HttpUtility.UrlDecode(_msg);

solve my problem? any other suggestions?

Thanks

© Stack Overflow or respective owner

Related posts about .NET

Related posts about urlencode