Re: who is changing dots into underscores in my variable names in REST? [message #169767 is a reply to message #169715] |
Sat, 25 September 2010 19:24 |
Twayne
Messages: 135 Registered: September 2010
Karma:
|
Senior Member |
|
|
In news:pman969c3vmp063lumeg3kti07jsa5l4mm(at)mfesser(dot)de,
Michael Fesser <netizen(at)gmx(dot)de> typed:
> .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
You might be right in retrospect; I do recall that changing several years
ago to where multiple dots were allowed. My mistake.
But both IE8 and FF will change a space to %20; I just tried it again. My
site.com turns into my%20site.com. It happens with a lot of other characters
too changing to their value instead of symbol.
HTH,
Twayne`
|
|
|