No description
Find a file
zitterbacke 22e1b26bea fix uri modul for JSON-escape quotation marks
consider the following response body (content) of a REST/JSON webservice containing escaped quotation marks:

```json
{ "key": "\"works\"" }
```

decoding this string not as raw will lose the backslash as JSON escape. later json.loads will fail to parse.

Inspired by [this thread](https://groups.google.com/forum/#!topic/ansible-project/kymtiloDme4) on the mailing list and the following python shell code:

```python
import json
string=r'{ "key": "\"works\"" }'
json.loads(string)
json.loads(string.decode('raw_unicode_escape'))
json.loads(string.decode('unicode_escape'))
```
2014-12-17 20:09:44 +01:00
cloud Merge pull request #518 from likwid/devel 2014-12-16 23:18:01 -08:00
commands Strip newlines off k=v pairs in command/shell argument parsing 2014-10-08 14:48:07 -05:00
database Merge pull request #281 from kustodian/postgresql_db_fix_for_python_24_checkmode 2014-12-14 13:43:44 -08:00
files Merge pull request #514 from jbradberry/issue9546 2014-12-16 23:13:34 -08:00
inventory package files 2014-09-26 11:05:47 -04:00
network fix uri modul for JSON-escape quotation marks 2014-12-17 20:09:44 +01:00
packaging use state parameter in examples 2014-12-04 17:31:35 -08:00
source_control Merge pull request #158 from ajsalminen/git_dereference_annotated_tag 2014-12-15 15:16:53 -08:00
system Merge pull request #524 from zitterbacke/patch-1 2014-12-16 23:38:38 -08:00
utilities let implied type do the spliting 2014-11-11 15:34:55 -05:00
web_infrastructure Update django_manage to add database option for migrate 2014-12-05 18:08:47 +03:00
windows Fix documentation build 2014-12-16 11:50:41 -08:00
.gitignore Add basic top level files. 2014-09-26 09:21:20 -04:00
__init__.py package files 2014-09-26 11:05:47 -04:00
CONTRIBUTING.md Add basic top level files. 2014-09-26 09:21:20 -04:00
COPYING Add basic top level files. 2014-09-26 09:21:20 -04:00
README.md Update README.md 2014-09-26 18:55:32 -04:00

ansible-modules-core

This repo contains Ansible's most popular modules that are shipped with Ansible.

New module submissions for modules that do not yet exist should be submitted to ansible-modules-extras, rather than this repo.

Take care to submit tickets to the appropriate repo where modules are contained. The docs.ansible.com website indicates this at the bottom of each module documentation page.

License

As with Ansible, modules distributed with Ansible are GPLv3 licensed. User generated modules not part of this project can be of any license.