Merge pull request #2295 from slingamn/shivaram_pushreject
Some checks failed
build / build (push) Has been cancelled
ghcr / Build (push) Has been cancelled

fix validation of web push URLs
This commit is contained in:
Shivaram Lingamneni 2025-10-26 00:58:52 -04:00 committed by GitHub
commit efc1627d23
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3934,6 +3934,7 @@ func webpushHandler(server *Server, client *Client, msg ircmsg.Message, rb *Resp
if err := webpush.SanityCheckWebPushEndpoint(endpoint); err != nil {
rb.Add(nil, server.name, "FAIL", "WEBPUSH", "INVALID_PARAMS", subcommand, client.t("Invalid web push URL"))
return false
}
switch subcommand {