Skip to content

Clarify form redirect behavior - #117

Merged
jonaslsaa merged 1 commit into
mainfrom
feature/form-redirect-guidance
Aug 19, 2026
Merged

jonaslsaa merged 1 commit into
mainfrom
feature/form-redirect-guidance

Conversation

@jonaslsaa

Copy link
Copy Markdown
Owner

Problem

The agent guide presented relative links and GET forms as interchangeable ways to re-enter a Smartlink. Browsers also apply form-action to a submitted form's complete redirect chain, so an off-origin redirect can be blocked even though an ordinary link navigation works.

Solution

Add one clause beside the existing re-entry guidance: a form's complete redirect chain must be allowed through browser.forms or --allow-form.

Verification

  • npm run format:check
  • git diff --check

Closes #112

@vercel

vercel Bot commented Aug 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
smartlinks Ready Ready Preview Aug 19, 2026 7:00pm

@jonaslsaa
jonaslsaa merged commit 63867de into main Aug 19, 2026
3 checks passed
@jonaslsaa
jonaslsaa deleted the feature/form-redirect-guidance branch August 19, 2026 19:03

This branch was successfully deployed

1 active deployment
Preview — 3947db6a Deployed Aug 19, 2026 by vercel[bot]
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.

Guide: warn that author GET forms can't redirect cross-origin under form-action 'self'

1 participant