Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
/frameworkPublic archive

fix(nuxt): disallow directly rendering error page - #8673

Merged
pi0 merged 1 commit into
mainfrom
fix/no-direct-error
Nov 3, 2022
Merged

fix(nuxt): disallow directly rendering error page#8673
pi0 merged 1 commit into
mainfrom
fix/no-direct-error

Conversation

@pi0

@pi0pi0 commented Nov 3, 2022

Copy link
Copy Markdown
Member

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Fixes security issues can be caused by directly rendering /__nuxt_error route. Only it should be rendered with direct ssr call.

Credits to @OhB00 for discovering this.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@codesandbox

Copy link
Copy Markdown

CodeSandbox logoCodeSandbox logo Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@netlify

netlifyBot commented Nov 3, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt3-docs canceled.

NameLink
🔨 Latest commitaa8edcb
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt3-docs/deploys/6364354be74ca90008b57da7

@pi0
pi0 merged commit 253c8f7 into mainNov 3, 2022
@pi0
pi0 deleted the fix/no-direct-error branch November 3, 2022 21:48
@pi0pi0 mentioned this pull request Nov 3, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@pi0@danielroe