From 6186c4c779bbe36b788262b35a87aa0030832262 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20B=C3=B6sche?= Date: Sat, 10 Jan 2026 23:43:12 +0100 Subject: [PATCH] Add WebDAV upload URL debug logging --- go_cloud/internal/storage/webdav.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/go_cloud/internal/storage/webdav.go b/go_cloud/internal/storage/webdav.go index 150e90c..755d1aa 100644 --- a/go_cloud/internal/storage/webdav.go +++ b/go_cloud/internal/storage/webdav.go @@ -89,6 +89,8 @@ func (c *WebDAVClient) Upload(ctx context.Context, remotePath string, r io.Reade } full := fmt.Sprintf("%s%s/%s", c.baseURL, u, url.PathEscape(rel)) full = strings.ReplaceAll(full, "%2F", "/") + + fmt.Printf("[WEBDAV-UPLOAD] BaseURL: %s, BasePrefix: %s, RemotePath: %s, Full URL: %s\n", c.baseURL, c.basePrefix, remotePath, full) req, err := http.NewRequestWithContext(ctx, "PUT", full, r) if err != nil {