I use HttpUtility.UrlEncode to encode my URL and email it as a part of an email, it works fine but when I want to get this URL and process it on my controller it has been encoded automatically.
As an example "g30EjT%2b" is a part of my URL
public ActionResult MyController(string url)
{
//"g30EjT%2b" has been decoded to "g30EjT+b"
//I mean "%2" converted to "+" automatically
return view();
}
How can I prevent it?