mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
core: set URL to opaque if there is no path
This commit is contained in:
parent
85aa7db17e
commit
433e789a99
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue