From f7fd36f2a264d4b4cbf9b308497b419aa7bd26c1 Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Fri, 29 Sep 2017 20:42:27 +0800 Subject: Adapt to the latest addressable behaviour --- lib/gitlab/url_sanitizer.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/gitlab/url_sanitizer.rb') diff --git a/lib/gitlab/url_sanitizer.rb b/lib/gitlab/url_sanitizer.rb index 86a36ce93d3..4e1ec1402ea 100644 --- a/lib/gitlab/url_sanitizer.rb +++ b/lib/gitlab/url_sanitizer.rb @@ -64,8 +64,6 @@ module Gitlab url.password = password if password.present? url.user = user if user.present? url - rescue Addressable::URI::InvalidURIError - Addressable::URI.new end def generate_full_url -- cgit v1.2.1