From 64487732b6ce00fea50177b5d339b9a6d565250a Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Wed, 29 May 2019 22:12:48 -0700 Subject: [PATCH] Rename UrlBlocker argument: schemes -> protocols This was renamed in GitLab 11.11, so the backport needs to use the original name. --- lib/gitlab/url_blocker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gitlab/url_blocker.rb b/lib/gitlab/url_blocker.rb index 5ba83f8cc98..68cfd9fae87 100644 --- a/lib/gitlab/url_blocker.rb +++ b/lib/gitlab/url_blocker.rb @@ -23,7 +23,7 @@ module Gitlab def validate!( url, ports: [], - schemes: [], + protocols: [], allow_localhost: false, allow_local_network: true, ascii_only: false, -- GitLab