asp.net - Using an actual tilde in a URL Route -


i need set routing in global.asax going page actual tilde in url (due bug tilde ended in shared link) redirected proper place using routing. how can set route url actual tilde ("~") in it, e.g. www.example.com/~/something/somethingelse go same place www.example.com/something/somethingelse - never seems work!

in addition gerrie schenck:

you should never ever use unsafe characters in url's. it's bad practice , can not sure browsers recognize character.

webdevelopment creating websites/webapplications function under browsers(theoretically ofcourse, practically resolves limited few used based on goal serves: p )

the encoding should work, if not, proves gerrie , point why should not use unsafe characters.

list of unsafe characters , encoding used: http://www.blooberry.com/indexdot/html/topics/urlencoding.htm


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -