diff options
-rw-r--r-- | lib/custodian/protocoltest/http.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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" |