sharepoint relative path fix

This commit is contained in:
ValueOn AG 2026-03-16 15:12:05 +01:00
parent c873f96848
commit c161a93796

View file

@ -1000,7 +1000,10 @@ def _registerCoreTools(registry: ToolRegistry, services):
try:
connectionId, service, basePath = await _resolveDataSource(dsId)
if subPath:
if subPath.startswith("/"):
browsePath = subPath
else:
browsePath = f"{basePath.rstrip('/')}/{subPath}"
else:
browsePath = basePath
from modules.connectors.connectorResolver import ConnectorResolver