Forum: Ruby on Rails disable escaping of ActionController::Base.url_for

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
tobstarr (Guest)
on 2006-06-09 15:38

I am trying to use rails for a wml/wap application. Submitting forms
with wml goes something like that:

<input type="text" name="search" value="" />
<a href="/portal?search=$(search)">goto</a>

The wap browser replaces $(search) in the url with the text entered in
the input field. Now to my problem.

To use the routing information of rails I would like to use the method
url_for. The problem is that this method is automatically escaping
$(search) to %24%28search%29, and so the wap browser is not submitting
the input field correctly. Is there a way to diable the escaping? Maybe
some other tips?


This topic is locked and can not be replied to.