Add fs.sanitizeName for the delete request as well
fix(storage-plugin): add fs.sanitizeName for the delete request as well (#22362)
Add fs.sanitizeName for the delete request as well5fee01-fix-add-fs-sanitizename-for-the-delete-cve-2026-58192fixadd sanitizename delete request well storage
Committed by KazuCocoa
commit message
fix(storage-plugin): add fs.sanitizeName for the delete request as well (#22362)
* fix(storage-plugin): add fs.sanitizeName for the delete request
* move empty check as well
* fix: apply formatter
* return false for exception cases
* return false for exception cases
* tweak a bit
* fix formatEditor assessment
This commit patches CVE-2026-58192. The subject says `fs.sanitizeName` is now applied to the delete request as well, which is meaningful only in contrast to an existing call elsewhere and tells the reader that delete was previously unsanitized. The `storage-plugin` scope and `fix` type are accurate. The body, however, is a squash-merge list of review iterations: `move empty check as well`, `return false for exception cases` twice, `tweak a bit`, `fix format`. Those fragments reveal a little about behavior but mostly record the author's workflow instead of explaining the traversal risk or the final rule. The header carries the message; the body adds noise.