SamSaffron/MiniProfiler — pull request #179 by everplays (2013-07-24 21:00:20+00:00)
Title: (ruby) unescaping isn't needed for xml, fixes 'invalid %-encoding'

if we try to unescape an XML request that contains % (percent sign) it
makes Rack::Utils.unescape angry because it can't unescape single %.
also it's XML, decoding it like urlencoded request body is wrong.

this is the error I got which will be fixed by this patch:

```
invalid %-encoding (Business 2BusinessActiveRecord::BaseBusinessآی کار خواه دکرد؟1110001132010180آی کار خواه دکرد؟foo-catfoo-sub-catfoo-sub-sub-catding
doong

foo
bar
baz

<br>

%
تهرانمهرآباد)
```