[Slim-Checkins] r10211 - /trunk/server/Slim/Networking/Async/HTTP.pm
andy at svn.slimdevices.com
andy at svn.slimdevices.com
Thu Oct 5 09:36:13 PDT 2006
Author: andy
Date: Thu Oct 5 09:36:12 2006
New Revision: 10211
URL: http://svn.slimdevices.com?rev=10211&view=rev
Log:
URLs such as httpt:// were getting past this regex, oops
Modified:
trunk/server/Slim/Networking/Async/HTTP.pm
Modified: trunk/server/Slim/Networking/Async/HTTP.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Networking/Async/HTTP.pm?rev=10211&r1=10210&r2=10211&view=diff
==============================================================================
--- trunk/server/Slim/Networking/Async/HTTP.pm (original)
+++ trunk/server/Slim/Networking/Async/HTTP.pm Thu Oct 5 09:36:12 2006
@@ -125,7 +125,7 @@
HTTP::Request->new( $args->{method} => $args->{url} )
);
- if ( $self->request->uri !~ /^http/i ) {
+ if ( $self->request->uri !~ /^http:/i ) {
my $error = 'Cannot request non-HTTP URL ' . $self->request->uri;
return $self->_http_error( $error, $args );
}
More information about the checkins
mailing list