[Slim-Checkins] r10030 - /branches/6.5/server/Plugins/RadioIO/Plugin.pm

andy at svn.slimdevices.com andy at svn.slimdevices.com
Mon Sep 25 11:08:51 PDT 2006


Author: andy
Date: Mon Sep 25 11:08:50 2006
New Revision: 10030

URL: http://svn.slimdevices.com?rev=10030&view=rev
Log:
Bug 3663, escape RadioIO login URL

Modified:
    branches/6.5/server/Plugins/RadioIO/Plugin.pm

Modified: branches/6.5/server/Plugins/RadioIO/Plugin.pm
URL: http://svn.slimdevices.com/branches/6.5/server/Plugins/RadioIO/Plugin.pm?rev=10030&r1=10029&r2=10030&view=diff
==============================================================================
--- branches/6.5/server/Plugins/RadioIO/Plugin.pm (original)
+++ branches/6.5/server/Plugins/RadioIO/Plugin.pm Mon Sep 25 11:08:50 2006
@@ -15,6 +15,7 @@
 use strict;
 
 use MIME::Base64;
+use URI::Escape qw(uri_escape);
 
 use Slim::Buttons::Common;
 use Slim::Buttons::XMLBrowser;
@@ -106,7 +107,7 @@
 	my $url = $FEED;
 	
 	if ( $username && $password ) {
-		$url .= "&membername=$username&pw=" . decode_base64( $password );
+		$url .= '&membername=' . uri_escape($username) . '&pw=' . uri_escape( decode_base64( $password ) );
 	}
 	
 	return $url;



More information about the checkins mailing list