This project is archived and is in readonly mode.
ActiveSupport::Gzip.compress returns invalid UTF-8 strings
-
Josh Kalderimis
- Tag set to active_support
- Assigned user set to Santiago Pastorino
Hi David,
I have wrapped up your example into a failing test case and have whipped up a patch to correct the problem. I just need to run it by Santiago before I pop the diff up, which I'll do tomorrow morning.
Thanks,
Josh
-
Repository
- State changed from new to resolved
(from [3eb25fb8806c0b161d2d1d9cb22d0bdfc7b0ce63]) fix for AS Gzip returning a UTF-8 string in Ruby 1.9 when it is actually binary [#6386 ActiveSupport::Gzip.compress returns invalid UTF-8 strings state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
https://github.com/rails/rails/commit/3eb25fb8806c0b161d2d1d9cb22d0... -
Repository
(from [31690ea8b3420aea4ea4427e1599665d093c974f]) fix for AS Gzip returning a UTF-8 string in Ruby 1.9 when it is actually binary [#6386 ActiveSupport::Gzip.compress returns invalid UTF-8 strings state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
https://github.com/rails/rails/commit/31690ea8b3420aea4ea4427e15996... -
David Phillips
Thanks Josh and José!