Commit 5202e211 authored by Urs Fleisch's avatar Urs Fleisch
Browse files

URL encode album link for Discogs import (SF Bug #3488638).

parent 9f5566cc
......@@ -25,6 +25,7 @@
*/
#include "discogsimporter.h"
#include <QUrl>
#include "serverimporterconfig.h"
#include "trackdatamodel.h"
#include "configstore.h"
......@@ -604,5 +605,6 @@ void DiscogsImporter::sendTrackListQuery(
* Query looks like this:
* http://www.discogs.com/release/761529
*/
sendRequest(discogsServer, QString("/") + cat + '/' + id, true);
sendRequest(discogsServer, QString("/") + QUrl::toPercentEncoding(cat) + '/'
+ id, true);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment