1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-17 03:45:56 +01:00

Merge pull request #4590 from Chocobozzz/hex_password_subsonic

Use hex in password auth for subsonic. Fixes #4589
This commit is contained in:
David Sansome 2014-10-24 23:45:04 +11:00
commit 67e233408c

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", password_);
url.addQueryItem("p", QString("enc:" + password_.toUtf8().toHex()));
return url;
}