Skip to content

fix(play): a base64 + read as a space, and a late file from the chat replacing the person's - #131

Merged
alekswebnet merged 1 commit into
mainfrom
fix/play-page-own-file
Nov 27, 2026
Merged

alekswebnet merged 1 commit into
mainfrom
fix/play-page-own-file

Conversation

@alekswebnet

Copy link
Copy Markdown
Contributor

Fixes #130.

  • + in a standard-base64 #source=: URLSearchParams reads it as a space, which was then stripped as whitespace. A space is turned back into + before decoding.
  • A file the person chose is kept: the play page notes the names the person chose (file picker or drop). A file from the chat with that name, or for an activity that wants only one file, is not taken in its place.

Checked in Chromium against the built site, with the live page as the before:

Case Live page This branch
True/False link in standard base64 containing + "The link is damaged" plays
Person chooses pic.png, the chat's pic.png (5,000 bytes larger) arrives just after built with the chat's file, 921,366 bytes built once with the person's, 916,366 bytes

The same files are copied into embed-my.org's play page (embed-my/website#11).

@alekswebnet
alekswebnet merged commit f08ca3a into main Nov 27, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Play page: a base64 + read as a space, and a late file from the chat replacing the person's

1 participant