c# - Reading special characters from URL query string -


i have situation user able enter characters want in url query string.

example:

http://localhost/default.aspx?id=a‡jljglkjg

how can accept special characters such ‡, ˆ, , † in asp.net url query string? finding when attempt retrieve these url query string these special characters gets replaced “?”.

note: user inputs these query string url.

this url wrong according rfc.

  • if using browser, ecndoing required.
  • if done javascript, use encodeuricomponent
  • if c# app, using httputility.urlencode here

Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -