Fix url conversion

This commit is contained in:
craig.p.drummond
2013-01-06 09:52:59 +00:00
committed by craig.p.drummond
parent 66c7823791
commit 920e885d22

View File

@@ -220,7 +220,7 @@ void HttpSocket::readClient()
if (socket->canReadLine()) {
QList<QByteArray> tokens = split(socket->readLine()); // QRegExp("[ \r\n][ \r\n]*"));
if (tokens.length()>=2 && "GET"==tokens[0]) {
QUrl url(QUrl::fromPercentEncoding(tokens[1]));
QUrl url(QUrl::fromEncoded(tokens[1]));
bool ok=false;
if (url.hasQueryItem("cantata")) {