I am writing a web application and learning how to urlencode html links...
All the urlencode questions here (see tag below) are "How to...?" questions.
My question is not "How?" but "Why?".
Even the wikipedia article only addresses the mechanics of it:
http://en.wikipedia.org/wiki/Urlencode
but not why I should use urlencode in my application at all.
What are the security implications of using (or rather not using) urlencode?
How can a failure to use urlencode be exploited?
What kind of bugs or failures can crop up with unencoded urls?
I'm asking because even without urlencode, a link to my application dev web site like the following works as expected:
http://myapp/my%20test/ée/ràé
Why should I use urlencode?
Or another way to put it:
When should I use urlencode? In what kind of situations?