I’m having difficulty using URL with urls that contain spaces.
If I use:
I get a 404 ‘http://www.test.com/a’ not found.
If I try:
I get a 404 ‘http://www.test.com/a+test+file.html’ not found.
and finally if I try:
I get a bad request response.
If I remove this from URL::addEscapeChars() it works
if (c == ' ')
result += T('+');
but what’s the skinny with ‘+’ representing spaces in URLs? Is that required for the POST part of the request, whereas %20 is needed for the path part?
Any cunning workarounds? Cheers!