mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Discovery phase: Properly decode percent encoding
This commit is contained in:
parent
681c43631b
commit
d44179142f
@ -16,6 +16,8 @@
|
||||
#include <csync_private.h>
|
||||
#include <qdebug.h>
|
||||
|
||||
#include <QUrl>
|
||||
|
||||
namespace Mirall {
|
||||
|
||||
bool DiscoveryJob::isInSelectiveSyncBlackList(const QString& path) const
|
||||
@ -70,7 +72,7 @@ void DiscoveryJob::update_job_update_callback (bool local,
|
||||
updateJob->lastUpdateProgressCallbackCall.restart();
|
||||
}
|
||||
|
||||
QString path = QString::fromUtf8(dirUrl).section('/', -1);
|
||||
QString path(QUrl::fromPercentEncoding(QByteArray(dirUrl)).section('/', -1));
|
||||
emit updateJob->folderDiscovered(local, path);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user