diff options
| author | Lin Jen-Shin <godfat@godfat.org> | 2017-10-02 14:45:58 +0800 |
|---|---|---|
| committer | Lin Jen-Shin <godfat@godfat.org> | 2017-10-02 14:45:58 +0800 |
| commit | e9ffa3395127618add901b9fc16117fb88c26b21 (patch) | |
| tree | 99f013ec8e4e03742797df69c019bc0b205b5786 /lib | |
| parent | 9401c137fdb6fd217cd81528c2d288f465262723 (diff) | |
| download | gitlab-ce-e9ffa3395127618add901b9fc16117fb88c26b21.tar.gz | |
Freeze the constant arraygem/sm/bump-google-api-client-gem-from-0-8-6-to-0-13-6
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/gitlab/url_sanitizer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/url_sanitizer.rb b/lib/gitlab/url_sanitizer.rb index 9931abe8a6e..1caa791c1be 100644 --- a/lib/gitlab/url_sanitizer.rb +++ b/lib/gitlab/url_sanitizer.rb @@ -1,6 +1,6 @@ module Gitlab class UrlSanitizer - ALLOWED_SCHEMES = %w[http https ssh git] + ALLOWED_SCHEMES = %w[http https ssh git].freeze def self.sanitize(content) regexp = URI::Parser.new.make_regexp(ALLOWED_SCHEMES) |
