mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 14:05:58 +03:00
Discovery phase: Properly decode percent encoding
This commit is contained in:
parent
681c43631b
commit
d44179142f
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue