Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

2.0 KB
Raw Blame

Notification URL parsing now recognizes scheme-less IPv6 literal fragments and refuses the entire configuration instead of dispatching only the valid subset.

IPv6 candidates are confirmed with the standard-library address parser, so colon-rich credentials and timestamps remain valid URL data. A MAC-48 address (aa:bb:cc:dd:ee:ff) is likewise kept as data, while an eight-group token such as an EUI-64 is refused: it is a syntactically valid IPv6 literal, and the ambiguity is resolved fail-closed.

The guard now reaches one verdict across the alternate spellings of a host rather than only the lowercase bare one: localhost matches case-insensitively, a scheme-relative //host prefix is recognized on the hostname and IPv4 alternatives as it already was on the IPv6 one, a trailing root dot is stripped the way _normalize_host strips it -- in its %2e spelling too, and off a bracketed literal carrying a port, so [::1].:8080/x is refused the way [::1]:8080/x is -- a userinfo@ prefix no longer hides a loopback or IPv6 authority, percent-encoded IPv6 brackets (%5b/%5d) are decoded, and the historical inet_aton spellings (0177.0.0.1, 127.1, //2130706433) are routed through the same legacy_ipv4 grammar whole URLs already use, their percent-encoded forms included.

A whole URL carries a scheme, so its host position is unambiguous; a comma-separated fragment's is not. The one-component inet_aton form accepts every integer below 2**32, which is also the shape of the Telegram chat ids, phone numbers and timestamps an Apprise comma-separated target list leaves in front of a / or a ?. A one-component numeric token is therefore only read as a host when the fragment carries an authority marker of its own: a second dot-separated component (a trailing root dot, . or %2e, does not count), a // prefix, or a userinfo@ prefix. Outside that one-component case the alias handling only adds refusals; no fragment that previously failed closed is readmitted.