I have a flash widget, hosted on a web page that attempts to navigate to a URL with some http request query parameters added to it.
I’m finding however that the white space in a parameter value gets double encoded for some reason, such that ‘SPACED OUT’ turns into ‘SPACED[COLOR=Red]%2520[/COLOR]OUT’:
var request:URLRequest = new URLRequest("http://mysrv.com/myServlet?memo=SPACED OUT&phone=1110001010");
or
var request:URLRequest = new URLRequest("[http://mysrv.com/myServlet?memo="+escape("SPACED](http://mysrv.com/myServlet?memo=SPACED) OUT")+"&phone=1110001010");
request.method = URLRequestMethod.POST;
navigateToURL(request);
// becomes
"http://mysrv.com/myServlet?memo=SPACED**%2520**OUT&phone=1110001010"
Basically, I’m looking for anybody else who’s seen this and of course any suggestions as to what can be done about it.
Obviously, my opinion is that this should be encoded only once, to ‘SPACED%20OUT’, which is what’s expected by standard.
Thanks,
karoy