Named pipe names that contain backslashes sometimes lead to problems.
std::wstring CommunicationSocket::DefaultPipePath()
{
auto pipename = std::wstring(L"\\\\.\\pipe\\");
- pipename += L"ownCloud\\";
+ pipename += L"ownCloud-";
pipename += getUserName();
return pipename;
}
if (Utility::isWindows()) {
socketPath = QLatin1String("\\\\.\\pipe\\")
- + QLatin1String("ownCloud") + '\\'
+ + QLatin1String("ownCloud-")
+ QString::fromLocal8Bit(qgetenv("USERNAME"));
// TODO: once the windows extension supports multiple
// client connections, switch back to the theme name