diff options
author | Jason Lee <huacnlee@gmail.com> | 2016-01-12 17:32:25 +0800 |
---|---|---|
committer | Jason Lee <huacnlee@gmail.com> | 2016-01-12 18:20:03 +0800 |
commit | 932a247f5fb4a14b3e096ec88a73f8fce481eebb (patch) | |
tree | b6006ac76347d46c484b755be8345925419769b4 /lib | |
parent | 41bcab118ae8be1baee0d750d99f46f584bd2fd4 (diff) | |
download | gitlab-ce-932a247f5fb4a14b3e096ec88a73f8fce481eebb.tar.gz |
Use CGI.escape instead of URI.escape, because URI is obsoleted.
ref: https://github.com/ruby/ruby/commit/238b979f1789f95262a267d8df6239806f2859cc
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/gitlab_import/importer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/gitlab_import/importer.rb b/lib/gitlab/gitlab_import/importer.rb index e24b94d6159..59926084d07 100644 --- a/lib/gitlab/gitlab_import/importer.rb +++ b/lib/gitlab/gitlab_import/importer.rb @@ -12,7 +12,7 @@ module Gitlab end def execute - project_identifier = URI.encode(project.import_source, '/') + project_identifier = CGI.escape(project.import_source, '/') #Issues && Comments issues = client.issues(project_identifier) |