Remove assert that caues crashes

This assert does not add value. Utility::concatUrlPath() takes care of
appending paths correctly.

Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
This commit is contained in:
Felix Weilbach 2021-09-06 13:00:28 +02:00 committed by allexzander (Rebase PR Action)
parent 8385eeeab2
commit 031b2e0683

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);
}