Public-link file drop: anonymous upload returns 500 on both dogfoods (no server log line) #678
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Cordy/Cairn#678
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found by the #656 QA pass (v0.6.247, both dogfoods).
Matrix row: §4 Sharing — "Public link upload (file drop) | Folder link with uploads allowed | Anonymous upload lands in folder".
Steps
_qa/drop/, then use the row ⋮ → Share → Public link with Expires 1 hour and Allow uploads (file drop) checked → Create link.qa-anon-drop.txt, about 40 B) on the zone.Expected: the file lands in
_qa/drop/.Seen: the zone text becomes "Upload failed (500)". The pod logs show
POST /s/<token> status=500 dur_ms=2–92 bytes_in≈230and nothing else: no error line explaining the 500.The file-input + Upload button path (a native form POST) instead navigates to a bare plain-text page reading
upload failed, with no styling and no way back other than the browser's Back.Notes:
FileviaDataTransfer(the same object a real drag produces). The server's 500 is independent of how the client built the request, but Nikola may want one manual drag to confirm.bytes_in≈230is a plain multipart body. If the drop is meant to be encrypted client-side ("The file is encrypted for this link"), the page may be sending plaintext that the server then rejects badly. Either way, a 500 without a log line is itself worth fixing./favicon.ico404s on share pages.Screenshot:
678-file-drop-500.jpg