On 01/25/2013 09:31 AM, Jerome Lacoste wrote:
the modified method shouldn't be used for encoding query params
Then it would be better to introduce a new method.
The only place I know ampersand can be a problem in URLs on the command line is when the URLs are not quoted.
That is a user problem; in general you need to quote URLs since there are all sorts of shell metacharacters that could be present (%&?#).
