1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 19:31:02 +01:00

Use utf8 for password instead of ascii

This commit is contained in:
Chocobozzz 2014-10-24 13:12:50 +02:00
parent 15a8af9bbb
commit 0b8e566544

View File

@ -190,7 +190,7 @@ QUrl SubsonicService::BuildRequestUrl(const QString& view) const {
url.addQueryItem("v", kApiVersion);
url.addQueryItem("c", kApiClientName);
url.addQueryItem("u", username_);
url.addQueryItem("p", QString("enc:" + password_.toAscii().toHex()));
url.addQueryItem("p", QString("enc:" + password_.toUtf8().toHex()));
return url;
}