[Slim-Checkins] r10192 - /branches/6.5/server/Slim/Formats/XML.pm

andy at svn.slimdevices.com andy at svn.slimdevices.com
Wed Oct 4 14:17:52 PDT 2006


Author: andy
Date: Wed Oct  4 14:17:51 2006
New Revision: 10192

URL: http://svn.slimdevices.com?rev=10192&view=rev
Log:
Forgot to merge this fix from trunk

Modified:
    branches/6.5/server/Slim/Formats/XML.pm

Modified: branches/6.5/server/Slim/Formats/XML.pm
URL: http://svn.slimdevices.com/branches/6.5/server/Slim/Formats/XML.pm?rev=10192&r1=10191&r2=10192&view=diff
==============================================================================
--- branches/6.5/server/Slim/Formats/XML.pm (original)
+++ branches/6.5/server/Slim/Formats/XML.pm Wed Oct  4 14:17:51 2006
@@ -443,7 +443,7 @@
 	my $timeout = (Slim::Utils::Prefs::get('remotestreamtimeout') || 5) * 2;
 
 	# Bug 3510 - check for bogus content.
-	if ($$content !~ /<\??xml/) {
+	if ($$content !~ /<\??(?:xml|rss)/) {
 
 		# Set $@, so the block below will catch it.
 		$@ = "Invalid XML feed - didn't find <xml>!\n";



More information about the checkins mailing list