[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/multimedia/amarok/src/services/ampache
From:       Alejandro Daniel Wainzinger <aikawarazuni () gmail ! com>
Date:       2009-05-22 12:45:21
Message-ID: 1242996321.433514.6672.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 971368 by awainzinger:

'Fix issue with the Ampache services implementation of urlForTrack by properly \
escaping the passed URL. This requires a fix to Ampache as well and applies only to \
Ampache 3.5.1 or greater' -- vollmer


 M  +1 -2      AmpacheServiceCollection.cpp  


--- trunk/extragear/multimedia/amarok/src/services/ampache/AmpacheServiceCollection.cpp \
#971367:971368 @@ -162,8 +162,7 @@
     //send url_to_song to Ampache
 
     QString requestUrl = QString( \
                "%1/server/xml.server.php?action=url_to_song&auth=%2&url=%3")
-    . arg( m_server, m_sessionId, mUrl.url() );
-
+    . arg(  m_server,  m_sessionId,  QUrl::toPercentEncoding( mUrl.url() ) );
     //     debug() << "request url: " << requestUrl;
 
     m_storedTransferJob = KIO::storedGet(  KUrl( requestUrl ), KIO::NoReload, \
KIO::HideProgressInfo );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic