Merge pull request #3754 from nextcloud/bugfix/remove-assert

Remove assert that causes crashes
This commit is contained in:
allexzander 2021-09-06 18:54:58 +03:00 committed by GitHub
commit 17044317ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,8 +154,6 @@ QUrl AbstractNetworkJob::makeAccountUrl(const QString &relativePath) const
QUrl AbstractNetworkJob::makeDavUrl(const QString &relativePath) const
{
// ensure we always used the remote folder
ASSERT(relativePath.startsWith(QLatin1Char('/')))
return Utility::concatUrlPath(_account->davUrl(), relativePath);
}