diff options
Diffstat (limited to 'zenserver/projectstore.cpp')
| -rw-r--r-- | zenserver/projectstore.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/zenserver/projectstore.cpp b/zenserver/projectstore.cpp index 534983347..90ff79b30 100644 --- a/zenserver/projectstore.cpp +++ b/zenserver/projectstore.cpp @@ -406,7 +406,12 @@ ProjectStore::Oplog::AddFileMapping(Oid FileId, IoHash Hash, std::string_view Se if (ServerPath[0] == '/' || ClientPath[0] != '/') { - return false; + // This is a special case just to enable tests to use absolute paths. We might want + // to have configuration to control this + if (ServerPath[1] != ':') + { + return false; + } } FileMapEntry Entry; |