forked from OpenNeo/impress
force utf8 on a copy of the openneo auth secret, instead of mutating input
This commit is contained in:
parent
f6a95ddac5
commit
1fa7031bac
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ if String.method_defined?(:force_encoding)
|
||||||
|
|
||||||
class String
|
class String
|
||||||
def +@
|
def +@
|
||||||
force_encoding('utf-8')
|
dup.force_encoding('utf-8')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue