Better handling of Cantata stream URLs with special characters (e.g. question marks)
This commit is contained in:
committed by
craig.p.drummond
parent
79020b617f
commit
f002e46131
@@ -216,7 +216,9 @@ QByteArray HttpServer::encodeUrl(const QString &file) const
|
||||
|
||||
Song HttpServer::decodeUrl(const QString &url) const
|
||||
{
|
||||
return decodeUrl(QUrl(url));
|
||||
QUrl u;
|
||||
u.setEncodedUrl(url.toUtf8());
|
||||
return decodeUrl(u);
|
||||
}
|
||||
|
||||
Song HttpServer::decodeUrl(const QUrl &url) const
|
||||
|
||||
Reference in New Issue
Block a user