Skip to content

Tags

Tags

v0.1.0

Toggle v0.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Encode IDs in website API paths; keep secrets out of setup output (#6)

The run page put its run ID, read from the page URL, into API paths
unencoded, so a crafted link with ../ in it could send a signed-in
request to another same-origin endpoint. Every website API path now
encodes its IDs, and a check fails on any that does not. The setup never
prints a secret and redacts the camera URL from stream errors. The docs
link check no longer strips scripts with a regex.