From 26d32203d7d60c06498c98f8ddadab68ad63e980 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Tue, 20 Aug 2024 12:37:16 +0800 Subject: [PATCH] Assign invalid filename on server syncfileitem status to items with forbidden filenames Signed-off-by: Claudio Cambra --- src/libsync/discovery.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libsync/discovery.cpp b/src/libsync/discovery.cpp index f910a55ae33f4..0434ff9427fe8 100644 --- a/src/libsync/discovery.cpp +++ b/src/libsync/discovery.cpp @@ -416,6 +416,7 @@ bool ProcessDirectoryJob::handleExcluded(const QString &path, const Entries &ent break; case CSYNC_FILE_EXCLUDE_SERVER_BLACKLISTED: item->_errorString = tr("The filename is blacklisted on the server."); + item->_status = SyncFileItem::FileNameInvalidOnServer; break; } }