From 9ba3108cc383d81aef17e423bcca61bbe262f4db Mon Sep 17 00:00:00 2001 From: John Bender Date: Tue, 23 Mar 2010 00:07:54 -0700 Subject: [PATCH] small cleanup --- lib/vagrant/downloaders/http.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/vagrant/downloaders/http.rb b/lib/vagrant/downloaders/http.rb index 49bb75ffd..48ecb87ba 100644 --- a/lib/vagrant/downloaders/http.rb +++ b/lib/vagrant/downloaders/http.rb @@ -8,8 +8,9 @@ module Vagrant def self.match?(uri) # URI.parse barfs on ':\\files \on\ windows' - uri = URI.extract(uri).first - uri && uri.include?(uri) + # TODO temprorary + extracted = URI.extract(uri).first + extracted && extracted.include?(uri) end def download!(source_url, destination_file)