-2

I have an encrypted url that gets passed in as a query string such as

myurl.com/key/cYtLPBlnOUOi+8413hTQLz+GGeoiLeLhbPuNhK+saqhc/f/FgtKSbcInVB9IIoWER71L1Q6vrnLv8o3eKI843|M==

I am having issues, I believe due to the special characters such as the forward slash. How can I accept this url?

Sachin
  • 40,216
  • 7
  • 90
  • 102
Em Jay
  • 63
  • 7

1 Answers1

0

Add a reference to System.Web (Project > References > Add reference > System.Web)

System.Web.HttpUtility.UrlEncode(YOUR_STRING);
Gaurang Dave
  • 3,956
  • 2
  • 15
  • 34