brianmario/escape_utils — Issue #22: Unescaping form-data with 0.2.4
Author: yabawock
Created: 2011-12-09 15:54:38+00:00
State: open

EscapeUtils 0.2.4 seems to have introduced a bug in regard to unescaping form submission.

This can easily be seen when having as simple a form as this:

```
<%= form_for :test, :url => '/test/create' do |f| %>
<%= f.text_field :test, :type => :tel %>
<% end %>
```

When I enter @+++Test+++@ into the field and submit the form I get the data I expect in the params has, @+++Test+++@

Adding escape_utils 0.2.4 to the Gemfile and putting
```
require 'escape_utils/url/rack'
````
into an initializer leads to the form data being decoded as @ Test @ - not exactly what I expect to happen in an input field with form data.

This problem doesn't occur with 0.2.3 - I suspect it has something to do with the move to 'houdini'