mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 13:36:15 +02:00
Added force encoding to response
This commit is contained in:
parent
baa2f81259
commit
a13f2dce6c
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ module EppRequestable
|
|||
|
||||
def create
|
||||
result = server.request(request_params[:payload])
|
||||
render_success(data: { xml: result })
|
||||
render_success(data: { xml: result.force_encoding('UTF-8') })
|
||||
rescue StandardError
|
||||
handle_non_epp_errors(nil, I18n.t('errors.messages.epp_conn_error'))
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue