Skip to content

Commit 1dcf629

Browse files
authored
Merge pull request #771 from xcp-ng/dnt/bugtool-fix
Fix upload_bugtool URL path
2 parents 00ba971 + 051752b commit 1dcf629

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/upload_bugtool/upload_bugtool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def upload(base_url, folder_token, password, file):
6060
print("Uploading %s" % file, file=sys.stderr)
6161

6262
upload_filename = urlquote(os.path.basename(file))
63-
target_url = urlparse.urljoin(base_url, "public.php/webdav/%s" % upload_filename)
63+
target_url = urlparse.urljoin(base_url, "public.php/dav/files/%s/%s" % (folder_token, upload_filename))
6464
cred = "%s:%s" % (folder_token, password)
6565

6666
# fmt: off

0 commit comments

Comments
 (0)