mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-14 23:22:51 +00:00
url::Url normalizes decimal (http://2130706433) and hex (http://0x7f000001) IPv4 host forms into 127.0.0.1, so after canonical_http_url rewrites the target the loopback classifier cannot tell them apart from a legitimate http://127.0.0.1 and lets a refresh token ride plaintext HTTP. Detect these forms on the raw input string and bail out before the url crate can hide them, and split the loopback test to cover the parse-time rejection path. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| crates | ||
| packages/fabro-api-client | ||