pdftract/crates/pdftract-core/examples
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
..
debug wip: AcroForm improvements, debug tooling, test corpus, and fixture updates 2026-05-30 09:48:14 -04:00
classify.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
debug_fingerprint_content_streams.rs fix(pdftract-39gey): fix indent trigger to not split drop-cap paragraphs 2026-06-07 13:43:19 -04:00
debug_fingerprint_normalize.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
debug_fingerprint_test.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
debug_page_tree.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
debug_simple_pdf.rs fix(pdftract-39gey): fix indent trigger to not split drop-cap paragraphs 2026-06-07 13:43:19 -04:00
debug_xref.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
extract.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
extract_markdown.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
extract_stream.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
extract_text.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
gen_font_fingerprint.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
get_metadata.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
hash.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
ocr.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
search.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
test_fingerprint_debug.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
test_normalize_simple.rs fix(pdftract-39gey): fix indent trigger to not split drop-cap paragraphs 2026-06-07 13:43:19 -04:00
test_pages_check.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
verify_receipt.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00