Commit Graph

6 Commits

Author SHA1 Message Date
Marius Balteanu
ff6d4bc0fd Strictly validate exotic IP formats in webhook URLs. As a side-effect of this, we now reject URLs where we can't resolve the host (#43911, #29664).
Patch by Holger Just (user:hjust).


git-svn-id: https://svn.redmine.org/redmine/trunk@24540 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-03-28 12:41:18 +00:00
Marius Balteanu
2f07147660 Strictly ensure that the port in webhook URLs is within the valid range (#43911, #29664).
Patch by Holger Just (user:hjust).


git-svn-id: https://svn.redmine.org/redmine/trunk@24539 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-03-28 12:40:21 +00:00
Marius Balteanu
da3b208a7d Block 0.0.0.0 and :: in webhook URLs (#43911, #29664).
Patch by Holger Just (user:hjust).


git-svn-id: https://svn.redmine.org/redmine/trunk@24538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-03-28 12:39:27 +00:00
Marius Balteanu
b9f5d62abc Correctly handle IPv6 IPs in webhook URLs (#43911, #29664).
Patch by Holger Just (user:hjust).


git-svn-id: https://svn.redmine.org/redmine/trunk@24537 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-03-28 10:00:02 +00:00
Go MAEDA
3a3194bbd5 Add copyright headers to webhook-related files (#29664).
git-svn-id: https://svn.redmine.org/redmine/trunk@24113 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-11-03 09:28:35 +00:00
Marius Balteanu
d90d192f48 Introduces issue webhooks (#29664):
* users can set up hooks for issue creation, update and deletion events, for any number of projects
* hooks run in the context of the creating user, and only if the object in question is visible to that user
* the actual HTTP call is done in ActiveJob
* webhook calls are optionally signed the same way GitHub does

Patch by Jens Krämer (user:jkraemer).



git-svn-id: https://svn.redmine.org/redmine/trunk@24034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-07 06:49:14 +00:00