We don't really need two \ here
authorKevin Ottens <kevin.ottens@nextcloud.com>
Thu, 4 Jun 2020 12:09:21 +0000 (14:09 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Wed, 12 Aug 2020 07:48:33 +0000 (09:48 +0200)
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/libsync/syncengine.cpp

index dda6cbb86f6bafd144db46b5ce0f07167b5f4c38..5fdd070c76ea8acf255af11193acb5c4121e5f33 100644 (file)
@@ -1100,7 +1100,7 @@ void SyncEngine::slotDiscoveryJobFinished(int discoveryResult)
         // files with names that contain these.
         // It's important to respect the capability also for older servers -- the
         // version check doesn't make sense for custom servers.
-        invalidFilenamePattern = R"([\\:?*"<>|])";
+        invalidFilenamePattern = R"([\:?*"<>|])";
     }
     if (!invalidFilenamePattern.isEmpty()) {
         const QRegExp invalidFilenameRx(invalidFilenamePattern);