lib/wmap/utils/url_magic.rb
# Simple sanity check on a 'claimed' SSL enabled URL string
Simple sanity check on a 'claimed' SSL enabled URL string
Simple sanity check on a ' claimed ' SSL enabled URL string
def is_ssl?(url)
		puts "Validate if SSL is enabled on: #{url}" if @verbose
		url=url.strip
		if is_url?(url) && url =~ /https/i
			return true
		else
			return false
		end
	rescue => ee
		puts "Exception on method #{__method__}: #{ee}" if @verbose
		return false
	end
def is_ssl? ( url ) puts "Validate if SSL is enabled on: #{url}" if @verbose url = url . strip if is_url? ( url ) && url =~ / https /i return true else return false end rescue => ee puts "Exception on method #{__method__}: #{ee}" if @verbose return false end
Simple sanity check on a 'claimed' SSL enabled URL string
Simple sanity check on a ' claimed ' SSL enabled URL string
url
<not_specific>