# Double encoded ampersands in form actions

**URL:** <https://www.ruby-forum.com/t/double-encoded-ampersands-in-form-actions/63578>\
**Category:** Rails\
**Created:** [June 16, 2006, 10:56am UTC](https://www.ruby-forum.com/t/double-encoded-ampersands-in-form-actions/63578 "2006-06-16T10:56:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomtoday](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/35a633/32.png) [@tomtoday](https://www.ruby-forum.com/u/tomtoday)\
**Post date:** [June 16, 2006, 10:56am UTC](https://www.ruby-forum.com/t/double-encoded-ampersands-in-form-actions/63578/1 "2006-06-16T10:56:30Z")

</div>

My form tag looks like:  
\<%= form\_tag :controller =\> “admin”, :action =\> ‘update\_preset’, :id =\>  
@preset, :popup =\> params[:popup], :editor =\> params[:editor] %\>

which I want to be rendered something like:

but instead I get double encoded ampersands in the url:

This only seems to be a problem with the url\_for\_options within form  
tags. Any suggestions?
