summaryrefslogtreecommitdiff
path: root/app/validators
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2018-12-08 03:02:18 +0000
committerClement Ho <clemmakesapps@gmail.com>2018-12-08 03:02:18 +0000
commita89b5269502a0250c7507f3bb1350a7ba602822b (patch)
treee488ea89b81c63e840f6f395603f4557e40463cb /app/validators
parent5fc492de7895708a3e23313940f32c894bb69c94 (diff)
parent72c00594070dfd1a778c2e03ff400b478e6c3774 (diff)
downloadgitlab-ce-a89b5269502a0250c7507f3bb1350a7ba602822b.tar.gz
Merge branch 'ce-jej/group-saml-sso-button-link-description' into 'master'
[CE] Backport SAML unlink changes: UrlBlocker#ascii_only See merge request gitlab-org/gitlab-ce!23627
Diffstat (limited to 'app/validators')
-rw-r--r--app/validators/url_validator.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/validators/url_validator.rb b/app/validators/url_validator.rb
index 216acf79cbd..5feb0b0f05b 100644
--- a/app/validators/url_validator.rb
+++ b/app/validators/url_validator.rb
@@ -69,6 +69,7 @@ class UrlValidator < ActiveModel::EachValidator
ports: [],
allow_localhost: true,
allow_local_network: true,
+ ascii_only: false,
enforce_user: false
}
end