#271: locked share viewer — no metadata before the password, visible errors, deliberate downloads #272
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/viewer271"
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?
Fixes the three password-protected-share findings (#271):
ServeHTTPserved the full viewer (name + size, via a stat) before the password gate. NewrenderViewerLockedserves a neutral "Files have been shared with you / Enter the password to see them" card with zero content metadata. After the gate admits the session, the viewer fetches a new session-gated?meta=1endpoint to reveal name/size; for folder shares it answers{"dir":true}and the page reloads into the server-rendered listing (the key fragment survives the reload, and the v0.6.41 hash-reattach keeps per-file links keyed).start(), whoseinnerHTMLre-render wiped it. Reordered: re-render first, error after. 429 shows "Too many attempts".run()still shows "Downloaded — check your downloads folder" with Download again.Locked shares gate first regardless of mode, so v0.6.42's layered key+password shares get: gate → metadata reveal → deliberate download → in-browser decrypt.