Commit Graph
2 Commits
Author SHA1 Message Date
COTHSC 864036d545 feat: add DOCLINGCORE_ALLOWED_PRIVATE_IPS setting to allow private IPs (#608)
* feat: add DOCLINGCORE_ALLOWED_PRIVATE_IPS setting to allow private IP access

Signed-off-by: COTHSC <thierryscully.colomban@gmail.com>

* fix: address review feedback on private-IP allowlist

fix broken response in test_allowed_private_ips (use _closeable_response instead of Response)
document allowed_private_ips
widen _ip_in_allowlist typehint to include ipv6 addresses + add docstring
clarify the malformed entry logmessage to hint at strict CIDR parsing

Signed-off-by: COTHSC <thierryscully.colomban@gmail.com>

* fix: use strict=False with normalization warning for CIDR allowlist entries

Signed-off-by: COTHSC <thierryscully.colomban@gmail.com>

* style: apply ruff-format

Signed-off-by: COTHSC <thierryscully.colomban@gmail.com>

---------

Signed-off-by: COTHSC <thierryscully.colomban@gmail.com>
2026-09-10 14:04:28 +02:00
Cesar Berrospi Ramis a59c38c1da chore: rename test folder to tests (#739)
test: rename 'test' folder to 'tests'

To align with other Docling repositories, use 'tests' for test modules.

Signed-off-by: Cesar Berrospi Ramis <ceb@zurich.ibm.com>
2026-09-04 10:49:52 +02:00