I have a string s = "sunil\"
and t = "sunil/"
When i create URI from the string, I get some abnormal values
http://admin:sunil%5c
So my url is not getting executed properly.
I want my url to be http://admin:sunil\
or http://admin:sunil/
My URL creation is like this: http://userid:password@host:port
where in my password string contains "\" character. So it fails to create the URL correctly
please give information how to retain \
and /
inside a string when creating a url.
i dont know if i have to use replace() in the string.