I asked a question to get url as action input here. Now I have a new problem. The passed url to action changes from http://google.com
to http:/google.com
.
I want to know why and how can I resolve the problem.
P.S: I added this code to resolve but I think there may be another problems in future! the code is:
if ((url.Contains(":/")) && !(url.Contains("://")))
{
url = url.Replace(":/", "://");
}