Merge pull request #8503 from chrisroberts/fix/box-add-spaces
Unescape url to provide actual local path when adding box
This commit is contained in:
commit
60187f2b17
|
@ -478,6 +478,7 @@ module Vagrant
|
|||
url ||= uri.opaque
|
||||
#7570 Strip leading slash left in front of drive letter by uri.path
|
||||
Util::Platform.windows? && url.gsub!(/^\/([a-zA-Z]:)/, '\1')
|
||||
url = URI.unescape(url)
|
||||
|
||||
begin
|
||||
File.open(url, "r") do |f|
|
||||
|
|
Loading…
Reference in New Issue