Unescape url to provide actual local path when adding box

Fixes #6825
This commit is contained in:
Chris Roberts 2017-04-20 15:36:13 -07:00
parent 61c556ff90
commit 7d1c77f523
1 changed files with 1 additions and 0 deletions

View File

@ -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|