diff --git a/lib/ansible/modules/network/basics/uri.py b/lib/ansible/modules/network/basics/uri.py index 9be0a06cdc..9929316dfd 100644 --- a/lib/ansible/modules/network/basics/uri.py +++ b/lib/ansible/modules/network/basics/uri.py @@ -304,7 +304,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.decode('unicode_escape')), dest + return r, unicode(content.decode('raw_unicode_escape')), dest except: return r, content, dest except httplib2.RedirectMissingLocation: