SVN: toys/rsget.pl/RSGet/Plugin.pm

glen glen at pld-linux.org
Sun Aug 21 20:42:43 CEST 2011


Author: glen
Date: Sun Aug 21 20:42:43 2011
New Revision: 12333

Modified:
   toys/rsget.pl/RSGet/Plugin.pm
Log:
- allow https:// urls to work for plugins, like youtube urls


Modified: toys/rsget.pl/RSGet/Plugin.pm
==============================================================================
--- toys/rsget.pl/RSGet/Plugin.pm	(original)
+++ toys/rsget.pl/RSGet/Plugin.pm	Sun Aug 21 20:42:43 2011
@@ -219,7 +219,7 @@
 		}
 	} else {
 		foreach my $re ( @{ $self->{urire} } ) {
-			return 1 if $uri =~ m{^http://(?:www\.)?$re};
+			return 1 if $uri =~ m{^https?://(?:www\.)?$re};
 		}
 	}
 	return 0;


More information about the pld-cvs-commit mailing list