Encode song URLs when inserting them into the database. This was broken by revision 98dd001a
. Fixes issue #4127
This commit is contained in:
parent
cfb8fc8fbc
commit
dc5670edfb
|
@ -797,7 +797,7 @@ void Song::BindToQuery(QSqlQuery *query) const {
|
|||
&& Utilities::UrlOnSameDriveAsClementine(d->url_)) {
|
||||
query->bindValue(":filename", Utilities::GetRelativePathToClementineBin(d->url_));
|
||||
} else {
|
||||
query->bindValue(":filename", d->url_);
|
||||
query->bindValue(":filename", d->url_.toEncoded());
|
||||
}
|
||||
|
||||
query->bindValue(":mtime", notnullintval(d->mtime_));
|
||||
|
|
Loading…
Reference in New Issue