Skip to content

Commit d74ca95

Browse files
Fix tomcat urls
1 parent 24afd54 commit d74ca95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/spec_helper_acceptance_local.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class { 'epel': }
5959

6060
def latest_tomcat_tarball_url(version)
6161
require 'net/http'
62-
page = Net::HTTP.get(URI("http://tomcat.apache.org/download-#{version}0.cgi"))
62+
page = Net::HTTP.get(URI("https://tomcat.apache.org/download-#{version}0.cgi"))
6363

6464
url = ((match = page.match(%r{https?://.*?apache-tomcat-(.{4,9}).tar.gz})) && match[0])
6565
return url if url
@@ -86,7 +86,7 @@ def latest_tomcat_tarball_url(version)
8686
TOMCAT9_RECENT_SOURCE = latest9
8787
puts "TOMCAT9_RECENT_SOURCE is #{TOMCAT9_RECENT_SOURCE.inspect}"
8888

89-
SAMPLE_WAR = 'http://tomcat.apache.org/tomcat-9.0-doc/appdev/sample/sample.war'
89+
SAMPLE_WAR = 'https://tomcat.apache.org/tomcat-9.0-doc/appdev/sample/sample.war'
9090

9191
confine_8_array = [
9292
(os[:family].include?('redhat') && os[:release].start_with?('5')),

0 commit comments

Comments
 (0)