We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42902eb commit 2e3b0d4Copy full SHA for 2e3b0d4
1 file changed
docs/handbook/security.rst
@@ -232,8 +232,8 @@ The following mitigations are listed in priority order.
232
advisories <https://github.com/python-pillow/Pillow/security/advisories>`_.
233
5. **Enforce** ``MAX_IMAGE_PIXELS`` — never set it to ``None``; treat
234
``Image.DecompressionBombWarning`` as an error.
235
-6. **Allowlist image formats** — restrict accepted formats when opening
236
- images, for example with ``Image.open(..., formats=...)``, and isolate
+6. **Restrict image formats** — restrict formats when opening images, for
+ example with ``Image.open(..., formats=...)``, and isolate
237
installs/environments if you need to minimise supported formats.
238
7. **Strip metadata on output** — never pass through EXIF/XMP/ICC from user
239
uploads to publicly served images.
0 commit comments