diff options
Diffstat (limited to 'lib/sisu/v2/remote.rb')
| -rw-r--r-- | lib/sisu/v2/remote.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/lib/sisu/v2/remote.rb b/lib/sisu/v2/remote.rb index 4efe1770..32bc336d 100644 --- a/lib/sisu/v2/remote.rb +++ b/lib/sisu/v2/remote.rb @@ -145,7 +145,7 @@ module SiSU_Remote              and images.length > 1                images.flatten!                images.uniq! -              images.delete_if {|x| x =~/http:\/\// } +              images.delete_if {|x| x =~/https?:\/\// }                images.sort!                @msg,@msgs='downloading images:', [ images.join(',') ]                @tell.call.warn unless @opt.cmd =~/q/ @@ -181,7 +181,7 @@ module SiSU_Remote        @requested_file=requested_file      end      def pod -      re_p_div=/http:\/\/([^\/]+)(\/\S+)\/(sisupod(?:\.zip)?|\S+?(?:\.ss[mt]\.zip)?|[^\/]+?\.ssp)$/ +      re_p_div=/https?:\/\/([^\/]+)(\/\S+)\/(sisupod(?:\.zip)?|\S+?(?:\.ss[mt]\.zip)?|[^\/]+?\.ssp)$/        re_p=/(sisupod(?:\.zip)?|\S+?\.ss[mt](?:\.zip)?|[^\/]+?\.ssp)$/        if @requested_file =~ re_p_div          @site,@pth,@pod= re_p_div.match(@requested_file).captures | 
