diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-09-29 20:42:27 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-09-29 20:42:27 +0800 |
commit | f7fd36f2a264d4b4cbf9b308497b419aa7bd26c1 (patch) | |
tree | 15207d68829ed6a8d3bc4c3759de9eb805f931c7 /lib/gitlab/url_sanitizer.rb | |
parent | cffc28eca578a005a8e1256c2830c6e2bb9f2239 (diff) | |
download | gitlab-ce-f7fd36f2a264d4b4cbf9b308497b419aa7bd26c1.tar.gz |
Adapt to the latest addressable behaviour
Diffstat (limited to 'lib/gitlab/url_sanitizer.rb')
-rw-r--r-- | lib/gitlab/url_sanitizer.rb | 2 |
1 files changed, 0 insertions, 2 deletions
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 |