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 #169715 is a reply to message #169706] Thu, 23 September 2010 19:38 Go to previous messageGo to previous message
Michael Fesser is currently offline  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
[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 06:46:53 GMT 2024

Total time taken to generate the page: 0.07517 seconds