pdftract/crates/pdftract-cli/src
jedarden 67d5969305 test(bf-3f9q8): add SSRF URL test cases and assertions
- Updated 6 SSRF blocking tests to handle both error and stub response cases
- Tests now validate SSRF-related error messages when blocking is implemented
- Falls back gracefully to stub response validation when not yet implemented
- All 7 tests pass in 0.24s with zero orphaned processes

Tested URL patterns:
- http://127.0.0.1:9999/ (IPv4 loopback)
- http://0.0.0.0/ (IPv4 wildcard)
- http://169.254.169.254/latest/meta-data/ (cloud metadata)
- http://10.0.0.1/internal (RFC 1918 private)
- http://[::1]/ (IPv6 loopback)

Closes bf-3f9q8. Verification: notes/bf-3f9q8.md
2026-07-06 12:09:31 -04:00
..
bin test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
doctor feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
grep test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
inspect test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
mcp test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
middleware test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
cache_cmd.rs feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
classify.rs fix: resolve compilation errors across codebase 2026-05-25 08:38:04 -04:00
cli.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
codegen.rs feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
hash.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
header.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
lib.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
main.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
migrate.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
output.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
pages.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
panic_hook.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
password.rs feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
profiles_cmd.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
serve.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
url.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
validate.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
verify_receipt.rs feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00