mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
fix(docs): use Starlight admonition syntax instead of Aside component
Replace <Aside type="caution"> JSX with :::caution markdown syntax to fix the docs build error. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
dc20ce1fd6
commit
c863d2ce87
1 changed files with 2 additions and 2 deletions
|
|
@ -100,9 +100,9 @@ type OriginInfo struct {
|
|||
|
||||
### Origin Validation
|
||||
|
||||
<Aside type="caution">
|
||||
:::caution
|
||||
Never assume a message is safe because it arrives in your handler. The origin information must be validated before processing sensitive operations or operations that modify state.
|
||||
</Aside>
|
||||
:::
|
||||
|
||||
**Always verify the origin of incoming messages before processing them.** The `originInfo` parameter provides critical security information that must be validated to prevent unauthorized access.
|
||||
Malicious content, compromised content, or unintended scripts could send raw messages. Without origin validation, you may process commands from untrusted sources. Use `originInfo` to ensure messages come from expected sources.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue