10 Commits

Author SHA1 Message Date
oleibman 27230e16d2 Security Patch 2026-05-31 00:31:30 -07:00
oleibman 7384b1ecfb Option to Whitelist External Images 3.10.x (#4853) 2026-04-04 23:21:41 -07:00
oleibman 4050f14521 Breaking Change When Loading External Images
Images will be loaded from an external source (e.g. http://example.com/img.png) only if the reader is explicitly set to allow it via `$reader->setAllowExternalImages(true)`.
2025-08-02 18:42:47 -07:00
oleibman 668d3b5fde All Readers - Allow or Forbid Fetching of External Images Release390 (#4548)
* All Readers - Allow or Forbid Fetching of External Images Release390

Add to all readers the option to allow or forbid fetching external images. This is unconditionally allowed now. The default will be set to "allow", so no code changes are necessary. However, we are giving consideration to changing the default.

* Update Changelog
2025-07-22 21:44:46 -07:00
oleibman cde2926a9e Merge commit from fork
* Security Patch

Control characters should not be allowed in protocol.

* Tighten Up Drawing

* Fix Test
2025-01-23 21:25:36 -08:00
oleibman 3078ea9f87 Additional Context Options for https, Restore Disabled Tests
Additional Context Options needed, at least sometimes, to read https images.
2024-12-12 00:10:02 -08:00
oleibman beb0ac856a Disable 2 Tests
For the second time in recent months, some tests are failing/erring because https file_get_contents is not working on github (cannot reproduce locally on Windows or Linux). Filed an issue with Php when this first happened, and their suggested code change worked till now. If they come up with another successful code change, I will implement it and restore these tests.
2024-12-11 06:21:20 -08:00
oleibman bdc468063e More Tests 2024-08-18 19:32:27 -07:00
oleibman 5cd6b8870c Fix Minor Scrutinizer Complaint 2024-08-17 19:48:58 -07:00
oleibman e312656e3d Restrict Internet Protocols for Linked Images
Do not allow use of Php propietary protocols to retrieve linked images. Restrict to http, https, ftp, file, and s3.
2024-08-17 19:25:18 -07:00