I have a URL parameter that has special characters on it, so I do URL
encoding as such:
my_url(:email =>
CGI.escape("someemail+extension-O5WfVfzUwx8@public.gmane.org")
Now, I would expect to call a CGI.unescape(params[:email]) on the
action receiving this parameter, and this is true according to my
functional tests.
But when I tested this on the browser, it failed because, apparently,
I didn''t need to do any URL-decoding, and when I did it gave me
"someemail+extension mail.com".
Is there a built-in URL-decoding on the controller side? If so, how is
it that it doesn''t work on my functional tests.
I tested this on Safari and Firefox 3 browser, by the way.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---