QueryString is dropping data after a # sign

  • Thread starter Thread starter King Coffee
  • Start date Start date
K

King Coffee

Hi,

I'm passing the following http query string.

Location.aspx?end=717%20Bryant%20Ave%20#%20203,%20Minneapolis,%2055411

The following page request the end string token.

public partial class Anonymous_Location : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string start = Request["start"];
string end = Request["end"];

The string "end" only contains "717 Bryant Ave ". everything from the "#"
sign and after is filtered out.

How can I fix that ?

Sincerely,
King
 
Back
Top