Merge pull request #2295 from slingamn/shivaram_pushreject

fix validation of web push URLs
This commit is contained in:
Shivaram Lingamneni
2025-10-26 00:58:52 -04:00
committed by GitHub
+1
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 {