Don't add double trailing slash to container URL
The directory name already contains a trailing slash.
This commit is contained in:
@@ -133,7 +133,7 @@ class Migrator
|
|||||||
if is_root_listing
|
if is_root_listing
|
||||||
get_response = do_get_request("#{container_url_for(@username)}/?format=json&path=")
|
get_response = do_get_request("#{container_url_for(@username)}/?format=json&path=")
|
||||||
else
|
else
|
||||||
get_response = do_get_request("#{container_url_for(@username)}/?format=json&path=#{escape(directory)}/")
|
get_response = do_get_request("#{container_url_for(@username)}/?format=json&path=#{escape(directory)}")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user