Andrey Antukh 1b6b367951 Add diagnostic keys to SSRF validation exceptions
Add :uri and :scheme/:host keys to exceptions raised by
`validate-uri` for better error diagnostics. Also fix a bug
where (str url) was used instead of (str uri) in the
host-missing exception path.

Update the existing blocked-target test to verify the new :uri
key, and add three new tests covering scheme rejection, missing
host, and DNS failure error paths. All 27 tests pass with 60
assertions and 0 failures.

Signed-off-by: Andrey Antukh <niwi@niwi.nz>
2026-05-18 15:57:55 +00:00
..
2025-08-01 11:20:01 +02:00
2025-08-01 11:20:01 +02:00
2024-10-22 20:23:38 +02:00
2022-12-13 16:17:31 +01:00
2023-11-29 12:55:58 +01:00
2024-06-19 07:59:28 +02:00
2024-11-13 19:09:19 +01:00
2025-08-01 11:20:01 +02:00
2024-10-22 23:30:56 +02:00
2025-08-01 11:20:01 +02:00