Message153251
Stephen - urlencode is responsible for producing the application/x-www-form-urlencoded format, usually used in the FORMs in the web.
As per the spec, the Space characters are replaced by `+'. -
http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4.1
What you are looking for is probably quote and quote_plus helper functions.
When I had this doubt (long back), I referred to Java's URLEncoder class to see how it was behaving and then looked at the HTML specs. It was kind of standard behavior across different libraries. Closing this as invalid. |
|
Date |
User |
Action |
Args |
2012-02-13 07:23:49 | orsenthil | set | recipients:
+ orsenthil, eric.araujo, Stephen.Day |
2012-02-13 07:23:49 | orsenthil | set | messageid: <1329117829.17.0.76311940509.issue13866@psf.upfronthosting.co.za> |
2012-02-13 07:23:47 | orsenthil | link | issue13866 messages |
2012-02-13 07:23:46 | orsenthil | create | |
|