Re: who is changing dots into underscores in my variable names in REST? [message #169715 is a reply to message #169706] |
Thu, 23 September 2010 19:38 |
Michael Fesser
Messages: 215 Registered: September 2010
Karma:
|
Senior Member |
|
|
.oO(Twayne)
> I think you'll find that's happening in your browser or whatever s handling
> your http; iits replacing what it considers illegal characters (which those
> are) to an underscore. If yuo actually want a space in a URL you have to
> code it as %20 and so on.
What makes you think a dot (which is what the OP is talking about, not a
space) would be illegal in the query part of a URI? It's not even
required to escape it, you can write it as-is. And no browser changes
any char to an underscore, as this would corrupt the data. The reason
here is PHP itself.
Micha
|
|
|