-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
docs(start): add security FAQ #6564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
📝 WalkthroughWalkthroughAdds Security FAQ documents for React and Solid, updates navigation to include Security entries, and inserts contextual links to the Security FAQ within several existing React guides. No runtime code changes. Changes
Sequence Diagram(s)(removed — documentation-only changes; no multi-component runtime control flow introduced) Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
|
View your CI Pipeline Execution ↗ for commit 914c1e1
☁️ Nx Cloud last updated this comment at |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
🤖 Fix all issues with AI agents
In `@docs/start/framework/react/guide/security.md`:
- Around line 60-62: Update the absolute docs link for the "Execution Model"
reference to a relative path: replace the Markdown link [Execution
Model](/docs/start/framework/react/guide/execution-model) in security.md with a
relative link (e.g., [Execution Model](./execution-model)) so internal docs use
the ./guide/ style; ensure you edit the "Execution Model" link text in that file
to the relative href.
- Around line 56-58: Update the documentation to use the correct API name
`.inputValidator()` instead of `.validator()` wherever referenced (e.g., the
server function validation examples) and change the absolute docs URL to a
relative link to the server functions validation page (use
`/start/framework/react/server-functions#validation` style relative path).
Ensure both occurrences in this file that mention `.validator()` are replaced
with `.inputValidator()` and their links are converted to the relative form so
the examples and links are accurate and consistent.
db22aed to
9db5e2d
Compare
Concise FAQ answering common security questions: - CSRF protection (POST enforcement, custom headers, SameSite cookies) - Why Origin header is not trusted (CVE-2024-34351 prevention) - Prototype pollution prevention - RSC unidirectional flow - Links to existing docs for validation, middleware, execution model https://claude.ai/code/session_01DdkxQsku9t8XigsBPQbx8n
0151e63 to
f7522df
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@docs/start/framework/solid/guide/security.md`:
- Line 6: Replace the hardcoded Markdown link '../../react/guide/security.md'
with the docs-style extensionless relative link '../../react/guide/security' in
the Solid guide line; update the link target in the string found in the file
content (the existing '../../react/guide/security.md') to drop the '.md' so it
follows the internal docs-relative format (e.g., './guide/...') used across
documentation.
| title: Security FAQ | ||
| --- | ||
|
|
||
| See the [Security FAQ](../../react/guide/security.md) - the security architecture is identical for React and Solid. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use docs-style relative link (drop .md).
Internal docs links should follow the extensionless docs-relative format.
♻️ Proposed fix
-See the [Security FAQ](../../react/guide/security.md) - the security architecture is identical for React and Solid.
+See the [Security FAQ](../../react/guide/security) - the security architecture is identical for React and Solid.As per coding guidelines, Use relative links to docs/ folder format (e.g., ./guide/data-loading) for internal documentation references.
📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| See the [Security FAQ](../../react/guide/security.md) - the security architecture is identical for React and Solid. | |
| See the [Security FAQ](../../react/guide/security) - the security architecture is identical for React and Solid. |
🤖 Prompt for AI Agents
In `@docs/start/framework/solid/guide/security.md` at line 6, Replace the
hardcoded Markdown link '../../react/guide/security.md' with the docs-style
extensionless relative link '../../react/guide/security' in the Solid guide
line; update the link target in the string found in the file content (the
existing '../../react/guide/security.md') to drop the '.md' so it follows the
internal docs-relative format (e.g., './guide/...') used across documentation.
Concise FAQ answering common security questions:
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.