1
0
Fork 0
forked from OpenNeo/impress

force utf8 on a copy of the openneo auth secret, instead of mutating input

This commit is contained in:
Matchu 2015-07-17 18:36:22 -04:00
parent f6a95ddac5
commit 1fa7031bac

View file

@ -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