提交 72c1122a 编写于 作者: M Matthew Draper 提交者: GitHub

Merge pull request #26160 from prathamesh-sonpatki/use-encoding-from-metal

AC::Metal is already defining default encoding as UTF 8, let's reuse it.
......@@ -17,7 +17,7 @@ def encoding_for_param(action, param) # :nodoc:
if @_parameter_encodings[action.to_s] && @_parameter_encodings[action.to_s][param.to_s]
@_parameter_encodings[action.to_s][param.to_s]
else
::Encoding::UTF_8
super
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册