projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c50a968
)
We don't really need two \ here
author
Kevin Ottens
<kevin.ottens@nextcloud.com>
Thu, 4 Jun 2020 12:09:21 +0000
(14:09 +0200)
committer
Kevin 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
patch
|
blob
|
history
diff --git
a/src/libsync/syncengine.cpp
b/src/libsync/syncengine.cpp
index dda6cbb86f6bafd144db46b5ce0f07167b5f4c38..5fdd070c76ea8acf255af11193acb5c4121e5f33 100644
(file)
--- a/
src/libsync/syncengine.cpp
+++ b/
src/libsync/syncengine.cpp
@@
-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);