Skip to content

docs: use crypto.randomBytes in translated diskStorage examples#1408

Open
raashish1601 wants to merge 1 commit into
expressjs:mainfrom
raashish1601:spark/multer-crypto-filename-example
Open

docs: use crypto.randomBytes in translated diskStorage examples#1408
raashish1601 wants to merge 1 commit into
expressjs:mainfrom
raashish1601:spark/multer-crypto-filename-example

Conversation

@raashish1601

Copy link
Copy Markdown

Changes

  • Replace insecure Math.random() filename snippet with crypto.randomBytes in doc/README-fr.md and doc/README-tr.md.
  • This aligns translated docs with secure filename generation guidance and avoids documenting predictable IDs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant