[Slim-Checkins] r10215 - /branches/6.5/server/Slim/Networking/Async/HTTP.pm

andy at svn.slimdevices.com andy at svn.slimdevices.com
Thu Oct 5 11:47:17 PDT 2006


Author: andy
Date: Thu Oct  5 11:47:16 2006
New Revision: 10215

URL: http://svn.slimdevices.com?rev=10215&view=rev
Log:
Argh, need to allow https here too

Modified:
    branches/6.5/server/Slim/Networking/Async/HTTP.pm

Modified: branches/6.5/server/Slim/Networking/Async/HTTP.pm
URL: http://svn.slimdevices.com/branches/6.5/server/Slim/Networking/Async/HTTP.pm?rev=10215&r1=10214&r2=10215&view=diff
==============================================================================
--- branches/6.5/server/Slim/Networking/Async/HTTP.pm (original)
+++ branches/6.5/server/Slim/Networking/Async/HTTP.pm Thu Oct  5 11:47:16 2006
@@ -125,7 +125,7 @@
 		HTTP::Request->new( $args->{method} => $args->{url} )
 	);
 	
-	if ( $self->request->uri !~ /^http:/i ) {
+	if ( $self->request->uri !~ /^https?:/i ) {
 		my $error = 'Cannot request non-HTTP URL ' . $self->request->uri;
 		return $self->_http_error( $error, $args );
 	}



More information about the checkins mailing list