core: set URL to opaque if there is no path
This commit is contained in:
parent
85aa7db17e
commit
433e789a99
|
@ -430,7 +430,7 @@ module Vagrant
|
|||
uri = URI.parse(d.source)
|
||||
if uri.scheme == "file"
|
||||
url = uri.path
|
||||
url = uri.opaque if Util::Platform.windows?
|
||||
url ||= uri.opaque
|
||||
|
||||
begin
|
||||
File.open(url, "r") do |f|
|
||||
|
|
Loading…
Reference in New Issue