Skip to content

fix: Correct URL parameter parsing in execute page#2013

Open
tanchekwei wants to merge 1 commit into
AutomaApp:mainfrom
tanchekwei:fix-correct-url-parameter-parsing-in-execute-page
Open

fix: Correct URL parameter parsing in execute page#2013
tanchekwei wants to merge 1 commit into
AutomaApp:mainfrom
tanchekwei:fix-correct-url-parameter-parsing-in-execute-page

Conversation

@tanchekwei

Copy link
Copy Markdown

Fix: #1742

The forEach callback for URLSearchParams in src/execute/index.js had its key and value parameters inadvertently swapped.

This resulted in incorrect parsing of URL query parameters, where the intended value was treated as the key and vice-versa.

This commit corrects the parameter order to (value, key), restoring the standard key=value parsing behavior for URL parameters passed to the execute page.

@jackheuberger

Copy link
Copy Markdown

Just spent an hour trying to figure out why I couldn't trigger my workflow, this fixed my issue.

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.

Variables can't be passed through trigger URL

2 participants