Web Connection
Weird issue with the character #
Gravatar is a globally recognized avatar based on your email address. Weird issue with the character #
  Michael B
  All
  Aug 26, 2019 @ 02:43pm

Rick,

I was curious if you have any code that would purposely stop the value # from being passed as a querystring value? I am asking because I discovered today while debugging another issue that if a value such as A1B2C3# is passed via querystring, the value returned is only A1B2C3. I am looking here - request.aparms.aparms[1]

Thanks in advance.

ps: I updated to the latest wwrequest and wwutils to make sure my subclasses were not interfering before posting. Seems like the issue is that IIS does not like # in a querystring value.

pss: I did not want to have to urlencode the string, but that seems it might be the only solution.

Gravatar is a globally recognized avatar based on your email address. re: Weird issue with the character #
  Rick Strahl
  Michael B
  Aug 26, 2019 @ 03:59pm

A Url is not valid if it has a # in it unless it is encoded. The # is significant in a URL - it's the Hash separator for client side id/name navigation and servers usually strip anything that follows it.

© 1996-2019