mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 11:35:24 +01:00
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…
x
Reference in New Issue
Block a user