mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-27 18:12:41 +01:00
Fix loading of songs from Dropbox that have # in the name.
Fixes issue #3664
This commit is contained in:
parent
c6068b16c9
commit
cea41801db
@ -150,7 +150,8 @@ void DropboxService::RequestFileListFinished(QNetworkReply* reply) {
|
||||
}
|
||||
|
||||
QNetworkReply* DropboxService::FetchContentUrl(const QUrl& url) {
|
||||
QUrl request_url(QString(kMediaEndpoint) + url.path());
|
||||
QUrl request_url = QUrl((QString(kMediaEndpoint)));
|
||||
request_url.setPath(request_url.path() + url.path().mid(1));
|
||||
QNetworkRequest request(request_url);
|
||||
request.setRawHeader("Authorization", GenerateAuthorisationHeader());
|
||||
return network_->post(request, QByteArray());
|
||||
|
Loading…
Reference in New Issue
Block a user