Brandon Olivares wrote:
Just wondering why you are taking out the _?
Some commie or terr'ist somewhere has a browser that replaced peace_freedom
with
peaceUS95freedom. That _might_ have been caused by the accidental us-ascii
encoding on the page - 95 is the ASCII code point for _ - but it
Phlip wrote:
[...]
An URI is an URL. Rails packs records into them like this:
.../controller/action?record[first_name]=norbertrecord[last_name]=theNark
I don't use GET with [] very often in Rails, but when I have done so, I
have noticed that the [] are always URL-encoded as %xx (don't
The RFC 3986, warns about these [,] characters, but leaves it up
to the implementor. Firefox, IE and Safari browsers support these
characters.
http://tools.ietf.org/html/rfc3986
Special care should be taken when the URI path interpretation process
involves the use of a back-end file system or
The question comes up because - despite Rails's joyful abuse of those
characters to delimit records
???
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails:
Fernando Perez wrote:
The question comes up because - despite Rails's joyful abuse of those
characters to delimit records
???
An URI is an URL. Rails packs records into them like this:
.../controller/action?record[first_name]=norbertrecord[last_name]=theNark
The params method unravels
The question comes up because - despite Rails's joyful abuse of
those
characters to delimit records
???
An URI is an URL. Rails packs records into them like this:
.../controller/action?
record[first_name]=norbertrecord[last_name]=theNark
The params method unravels them into
Philip Hallstrom wrote:
Don't know for sure, but I know that in the late 90's PHP used [] for
this exact same thing. Still does I would assume. So if it's browser
forgiveness it's something that has been going on since at least 1996.
As a shotgun attack, we upgraded our HTML headers
I copied it out of the top of a WikiPedia page, so it doubtless has had the
crap
reviewed out of it...
Also, we are naturally flattening our forms to not use [] in this context. We
will also take out all the _, but that might just be collateral damage.
Hi,
Just wondering why you are taking out the _?
Brandon
-Original Message-
From: rubyonrails-talk@googlegroups.com [mailto:rubyonrails-
t...@googlegroups.com] On Behalf Of Phlip
Sent: Friday, April 10, 2009 12:04 AM
To: rubyonrails-talk@googlegroups.com
Subject: [Rails] Re: '['
9 matches
Mail list logo