I am writing a web app that has to deal with urls containing hash character ("#"). I am using MVC 1 with ASP.NET 3.5 (VS 2008). My urls are like this one:
www.mysite.com/token/?name1=value1&#&name2=value2
My issue is that I cannot find a method to get the original URL, but only get the substring before the hash character:
www.mysite.com/token/?name1=value1&
I used the MVC methods provided from the class HttpRequestBase
.
Anyone can suggest me an alternate method to get the entire url? Thank you, this is my very first question!
PS: I think maybe I have to encode my hash character, isn'it?