Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-06-30 18:22:56 +0300
committerJames Lopez <james@jameslopez.es>2016-06-30 18:22:56 +0300
commitef5713546bacc653f598eb692b728e35abdb8ab7 (patch)
tree740909fad3bf9d51b7192596490a3ff9e8e1a14c /lib/gitlab/url_sanitizer.rb
parent67f59ebd50511bfba1ebdc73b6fd269f425ac6f0 (diff)
few more changes from suggestions
Diffstat (limited to 'lib/gitlab/url_sanitizer.rb')
-rw-r--r--lib/gitlab/url_sanitizer.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/gitlab/url_sanitizer.rb b/lib/gitlab/url_sanitizer.rb
index 50febfc18f8..86ed18fb50d 100644
--- a/lib/gitlab/url_sanitizer.rb
+++ b/lib/gitlab/url_sanitizer.rb
@@ -1,6 +1,5 @@
module Gitlab
class UrlSanitizer
-
def self.sanitize(content)
regexp = URI::Parser.new.make_regexp(['http', 'https', 'ssh', 'git'])