FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » who is changing dots into underscores in my variable names in REST?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
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 Go to previous messageGo to previous message
Twayne is currently offline  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`
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: What's in this cookie?
Next Topic: Re: Can anyone recommend a good debugger & IDE for PHP?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 08:49:55 GMT 2024

Total time taken to generate the page: 0.04937 seconds