Commit cb799470 by James Cammarata

Fixing the unicode issue in uri for EL6 platforms

Fixes #5869
parent 5dfe16ee
......@@ -298,7 +298,7 @@ def uri(module, url, dest, user, password, body, method, headers, redirects, soc
r.update(resp_redir)
r.update(resp)
try:
return r, unicode(content).encode('utf8'), dest
return r, unicode(content.decode('unicode_escape')), dest
except:
return r, content, dest
except httplib2.RedirectMissingLocation:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment