-
Notifications
You must be signed in to change notification settings - Fork 45.2k
Open
Labels
in linearIssue or PR has been created in Linear for internal reviewIssue or PR has been created in Linear for internal review
Description
Bug Description
After I just update to [email protected] version my html reponse from webhook stops to work.
I use localstorage in my html code.
When the html load in browser, I get:
"Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': The document is sandboxed and lacks the 'allow-same-origin' flag."
Trying solve the problem I tried to set Content-Security-Policy to allow-same-origin in "Response Headers" of "Responde to Webhook" node, but no look. The problem continues.
To Reproduce
As mentioned on previous step
Expected behavior
localstorage should be work
Debug Info

Operating System
Ubuntu 24.02
n8n Version
1.112.6
Node.js Version
22.1t6.0
Database
PostgreSQL
Execution mode
main (default)
Hosting
self hosted
hadrien-toma
Metadata
Metadata
Assignees
Labels
in linearIssue or PR has been created in Linear for internal reviewIssue or PR has been created in Linear for internal review