Merge pull request #537 from zitterbacke/patch-2
fix uri modul for JSON-escape quotation marks should fix #121
This commit is contained in:
commit
42d91951cf
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ def uri(module, url, dest, user, password, body, method, headers, redirects, soc
|
||||||
r.update(resp_redir)
|
r.update(resp_redir)
|
||||||
r.update(resp)
|
r.update(resp)
|
||||||
try:
|
try:
|
||||||
return r, unicode(content.decode('unicode_escape')), dest
|
return r, unicode(content.decode('raw_unicode_escape')), dest
|
||||||
except:
|
except:
|
||||||
return r, content, dest
|
return r, content, dest
|
||||||
except httplib2.RedirectMissingLocation:
|
except httplib2.RedirectMissingLocation:
|
||||||
|
|
Loading…
Reference in a new issue