Hi you all

I have a form with button tags that represent a uri, so, for example, I
have:

<input checked='checked' id='#{url}' name='#{url}' type='radio'
value='#{value}'  />

Where "url" is a variable containing a URI.
The URI appears on the view correctly so, in case of a URI such as
http://hello.com/bla+bla, it appears as it is.
However, when returning "params" to the controller, the "params"
variable has stored the URI as "http://hello.com/bla bla". That is, it
has transformed the "+" symbols to spaces. How can I avoid this? I have
tried with URI::unescape(url) in the form, but it still transforms the
URI.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to