You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mitogen/docs
Alex Willmer d70ec4e540 ansible_mitogen: Handle AnsibleUnsafeText et al in Ansible >= 7
Follwing fixes in Ansible 7-9 for CVE-2023-5764 cating `AnsibleUnsafeBytes` &
`AnsibleUnsafeText` to `bytes()` or `str()` requires special handling. The
handling is Ansible specific, so it shouldn't go in the mitogen package but
rather the ansible_mitogen package.

`ansible_mitogen.utils.unsafe.cast()` is most like `mitogen.utils.cast()`.
During development it began as `ansible_mitogen.utils.unsafe.unwrap_var()`,
closer to an inverse of `ansible.utils.unsafe_procy.wrap_var()`. Future
enhancements may move in this direction.

refs #977, refs #1046

See also
- https://github.com/advisories/GHSA-7j69-qfc3-2fq9
- https://github.com/ansible/ansible/pull/82293
- https://github.com/mitogen-hq/mitogen/wiki/AnsibleUnsafe-notes
8 months ago
..
_static docs: remove a little more top margin wastage 6 years ago
_templates docs: Update external URLs (e.g. dw/mitogen -> mitogen-hq/mitogen) 1 year ago
images Merge remote-tracking branch 'origin/master' into v024 6 years ago
.gitignore docs: fix intensely annoying _prefix, 2 years later. 7 years ago
Makefile docs: get rid of autobuild remnant 6 years ago
ansible_detailed.rst ansible_mitogen: Add Ansible 7 support 8 months ago
api.rst Add podman connection support 3 years ago
changelog.rst ansible_mitogen: Handle AnsibleUnsafeText et al in Ansible >= 7 8 months ago
conf.py Prepare v0.3.5 8 months ago
contributors.rst ansible_mitogen: Add Ansible 7 support 8 months ago
domainrefs.py docs: add domainrefs plugin to make link aliases everywhere \o/ 5 years ago
examples.rst Replace os.system() with subprocess.check_call() 3 years ago
getting_started.rst Fix for sample in doc 5 years ago
howitworks.rst Fix miscellaneous spelling/formatting 3 years ago
index.rst docs: Update external URLs (e.g. dw/mitogen -> mitogen-hq/mitogen) 1 year ago
internals.rst Merge devel/290 @ 79b979ec8544ef5d8620c64068d4a42fabf50415 5 years ago
pickle-substitutes.ods docs: First round of Pickle-likes survey 7 years ago
requirements.txt docs: Fix generation of static website 1 year ago
services.rst issue #589: ensure real FileService/PushFileService are in the docs 6 years ago
svg-boxify.py docs: update and re-record profile graphs in docs; closes #505 6 years ago
toc.rst docs: reorder chapters 5 years ago