Repository navigation
fix(nitro): allow navigation from error page to external protocols - #34405
Conversation
|
|
WalkthroughThe change modifies the iframe sandbox attribute configuration in the development utilities file. Specifically, the sandbox attribute is updated to include 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
@nuxt/kit
@nuxt/nitro-server
nuxt
@nuxt/rspack-builder
@nuxt/schema
@nuxt/vite-builder
@nuxt/webpack-builder
commit: |
Merging this PR will not alter performance
Comparing Footnotes
|
|
thank you ❤️ |
🔗 Linked issue
/issues/34404
📚 Description
When
nuxt-error-overlayis active, the error overlay iframe blocks navigation to external protocols due to sandbox restrictions.Clicking on a link that triggers an external protocol (e.g.,
vscode:,phpstomr:, etc.) results in the following error in the browser console:This change adds
allow-top-navigation-by-user-activationto the iframe sandbox protocols which resolves the issue.