diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-28 15:13:13 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-28 15:13:40 +0300 |
commit | a325d3a2c05b8f664a76912c5ac32d0a8e45e562 (patch) | |
tree | 6840627ef29240e1f4da01c36334f9a43549cd65 /app/models/hooks | |
parent | c49ef67dc34ca5770ca16ce3df17786f82cfbcb2 (diff) |
Add latest changes from gitlab-org/security/gitlab@16-1-stable-ee
Diffstat (limited to 'app/models/hooks')
-rw-r--r-- | app/models/hooks/web_hook.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/hooks/web_hook.rb b/app/models/hooks/web_hook.rb index 6dc1c9f290a..d7a95363337 100644 --- a/app/models/hooks/web_hook.rb +++ b/app/models/hooks/web_hook.rb @@ -135,6 +135,7 @@ class WebHook < ApplicationRecord return if url_variables_were.blank? || interpolated_url_was == interpolated_url + self.url_variables = {} if url_variables_were.keys.intersection(url_variables.keys).any? self.url_variables = {} if url_changed? && url_variables_were.to_a.intersection(url_variables.to_a).any? end |