Skip to content

Fix: Encode screenshot proxy query parameters - #775

Merged
axllent merged 1 commit into
axllent:developfrom
dalexhu:fix/screenshot-proxy-query
Nov 17, 2026
Merged

axllent merged 1 commit into
axllent:developfrom
dalexhu:fix/screenshot-proxy-query

Conversation

@dalexhu

@dalexhu dalexhu commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Standard Base64 can contain a literal +. When the screenshot or CSS rewriter puts it directly in a proxy query string, form decoding turns it into a space and the handler rejects the payload.

Encode the data query value in both URL builders while keeping the existing Base64 wire format. The regression tests round-trip a URL whose encoded payload contains + and check that the frontend keeps the configured webroot.

Checks passed

  • npm test
  • npm run lint
  • npm run package
  • go test ./server/handlers

@axllent
axllent merged commit 6875451 into axllent:develop Nov 17, 2026
8 checks passed
@axllent

axllent commented Nov 17, 2026

Copy link
Copy Markdown
Owner

Thanks for all three PRs!

@dalexhu
dalexhu deleted the fix/screenshot-proxy-query branch November 17, 2026 03:44
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.

2 participants