The source project of this merge request has been removed.
Fix 'private method 'load' called' when posting non-whitelisted webhook
Closes #221294 (closed)
Testing
There are likely no automated tests which cover this code, since the previous (broken) behavior has been able to sneak in for a long time already.
I have tested this locally, by hand-patching .haml
file locally in our GitLab 14.3.2 instance. With the patch in place, I get this (expected) error instead of the problem described in the ticket (a 500 error with the described stack tracein the production.log
file).
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Per Lundberg