Search
Comments
-
Recent Posts
Categories
Monthly Archives: July 2008
Decrypt QueryString – Space + Issue = Uri.EscapeDataString
While working with encrypted querystrings in ASP.NET I noticed people doing this: string strValues = “search term”; string strURL = “http://mysite.com?search=” + encryptQueryString(strValues); Response.Redirect(strURL); string strScramble = Request.QueryString["search"]; string strdeCrypt = decryptQueryString( strScramble.Replace(” “, “+”)); The “strScramble.Replace(” “, “+”)” is a scary … Continue reading
