Commit 64487732 authored by Stan Hu's avatar Stan Hu

Rename UrlBlocker argument: schemes -> protocols

This was renamed in GitLab 11.11, so the backport needs to use
the original name.
parent a1da4104
......@@ -23,7 +23,7 @@ module Gitlab
def validate!(
url,
ports: [],
schemes: [],
protocols: [],
allow_localhost: false,
allow_local_network: true,
ascii_only: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment