# Disable escaping of ActionController::Base.url\_for

**URL:** <https://www.ruby-forum.com/t/disable-escaping-of-actioncontroller-base-url-for/62915>\
**Category:** Rails\
**Created:** [June 9, 2006, 1:38pm UTC](https://www.ruby-forum.com/t/disable-escaping-of-actioncontroller-base-url-for/62915 "2006-06-09T13:38:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tobstarr](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b5ac83/32.png) [@tobstarr](https://www.ruby-forum.com/u/tobstarr)\
**Post date:** [June 9, 2006, 1:38pm UTC](https://www.ruby-forum.com/t/disable-escaping-of-actioncontroller-base-url-for/62915/1 "2006-06-09T13:38:23Z")

</div>

Hi!

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

[goto](https://www.ruby-forum.com/portal?search=$(search))

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?

Thanx,

TobStarr
