diff options
author | eileencodes <eileencodes@gmail.com> | 2017-05-12 14:12:40 -0400 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2017-05-12 14:14:01 -0400 |
commit | 8607c25ba7810573733d9b37d0015154ba059f5e (patch) | |
tree | 696a9c807273e8a414c4a634f86e8ac421b67d03 /activerecord/lib/active_record/statement_cache.rb | |
parent | 943efa30f5475f51fe90df5f85703d191dbd7d6e (diff) | |
download | rails-8607c25ba7810573733d9b37d0015154ba059f5e.tar.gz rails-8607c25ba7810573733d9b37d0015154ba059f5e.tar.bz2 rails-8607c25ba7810573733d9b37d0015154ba059f5e.zip |
Maintain original encoding from path
When the path info is read from the socket it's encoded as ASCII 8BIT.
The unescape method changes the encoding to UTF8 but it should maintain
the encoding of the string that's passed in.
This causes parameters to be force encoded to UTF8 when we don't
actually know what the encoding of the parameter should be.
Diffstat (limited to 'activerecord/lib/active_record/statement_cache.rb')
0 files changed, 0 insertions, 0 deletions