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.
I have results in a list. These results are web pages, each of them have
some radio buttons to say if they like or not that web page. So, the
radio buttons have to store those URLs somewhere
Um... the value attribute is "Yes", "No", "I don't care" :), related to
the web page on the name of radio button.
I will have a look to the links you mention. However, I am not sure I
will be able to change this, so I think I will end up encoding the url
some way and decoding it in the controller..