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.6 KB
Raw Blame

Follow-up to the #5113 notification drop-reason fix: an unparseable notification service URL is now reported as invalid_url instead of the misleading egress_denied (the egress policy was never actually consulted for it). A notifications.service_url that parses to zero URLs (separator characters only, e.g. ",") is likewise invalid_url, not egress_denied. The invalid_url reason is also now honest when a mixed URL list has one rejected entry — it no longer claims Apprise "accepted none" of the configured URLs. Seven DNS-pin regression tests that had been widened to accept either a pre-dispatch or a send-time security block now assert the send-time SecurityBlockError specifically, and NotificationGuardUnavailableError (the DNS-pin shim's fail-closed refusal) is now covered by a test asserting its specific type end-to-end through NotificationService.send().

Behavior change: a notifications.service_url entry that contains a character which is illegal unencoded in a URI — a space, a backslash, or a control byte — is now reported as invalid_url for the WHOLE setting. Such entries were already refused before dispatch (URL validation has rejected them on both the send and test-notification paths for some time); what changes is the reason the operator sees, which previously could be egress_denied for a policy that was never consulted. Values such as discord://x garbage and slack://t/x/y\ are affected. Percent-encode the character, or split the value into separate comma-separated URLs. Surrounding whitespace is still trimmed and stays harmless, including non-ASCII whitespace such as a pasted U+00A0 no-break space.

The "Send Test Notification" endpoint now REFUSES any service URL that does not partition into unambiguous entries, instead of validating the trailing fragment in place of the entry it was carved out of, and it hands Apprise the already-parsed entry list rather than the raw string, so Apprise's own URL splitter is out of the path. The invalid_url audit log no longer records any form of the offending fragment (only its length), since for token-in-authority Apprise schemes even a scheme://host redaction preserves the secret, and the egress-policy audit log now records a refused webhook's scheme://host instead of its full URL. NotificationManager.test_service classifies an unusable URL the same way the send path does, so an unparseable or empty value no longer tells the operator to widen an egress scope that was never consulted. A host that cannot be IDNA-encoded is now refused as an ordinary resolution failure inside the DNS block-private window too, rather than being mislabelled a confirmed security block.