From 763aeecb686c59d9f8e25ddfacd43a0f2ed4881d Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Sat, 24 Nov 2012 15:05:35 +0000 Subject: The target of the test, the URL, should be saved. --- lib/custodian/protocoltest/http.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/custodian') diff --git a/lib/custodian/protocoltest/http.rb b/lib/custodian/protocoltest/http.rb index 11f4bff..ad9e88d 100644 --- a/lib/custodian/protocoltest/http.rb +++ b/lib/custodian/protocoltest/http.rb @@ -55,6 +55,7 @@ module Custodian # Save the URL # @url = line.split( /\s+/)[0] + @host = @url if ( @url !~ /^https?:/ ) raise ArgumentError, "The target wasn't an URL" -- cgit v1.2.1