Permalink
Browse files

Also make regex work on secure URLs

  • Loading branch information...
1 parent e23cfa8 commit 50ceabd64c227d861b81e025145a6d9446247066 Onar Vikingstad committed with Charles Jolley Feb 8, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sproutcore/helpers/html5_manifest.rb
@@ -65,7 +65,7 @@ def inspect_files(base_path, dst_path)
# in case of hyperdomaining, strip off the http part and then look
# for the file
if x[0,4] == 'http'
- file_location = '/' + x.gsub(/http\:\/\/.*?\//, '')
+ file_location = '/' + x.gsub(/https?\:\/\/.*?\//, '')
end
next unless File.exist?(base_path + file_location)

0 comments on commit 50ceabd

Please sign in to comment.