From 1fa7031baccf5767105ec31a59ea22c88e499003 Mon Sep 17 00:00:00 2001 From: Matchu Date: Fri, 17 Jul 2015 18:36:22 -0400 Subject: [PATCH] force utf8 on a copy of the openneo auth secret, instead of mutating input --- lib/utf8.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utf8.rb b/lib/utf8.rb index 99334004..15f7bffe 100644 --- a/lib/utf8.rb +++ b/lib/utf8.rb @@ -4,7 +4,7 @@ if String.method_defined?(:force_encoding) class String def +@ - force_encoding('utf-8') + dup.force_encoding('utf-8') end end else