LearnNewsExamplesServices
Frontmatter
id7977
titleSanitize commander inputs in buildScripts/buildAll.mjs
stateClosed
labels
bugai
assigneestobiu
createdAtDec 2, 2025, 6:31 PM
updatedAtDec 2, 2025, 6:43 PM
githubUrlhttps://github.com/neomjs/neo/issues/7977
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtDec 2, 2025, 6:43 PM

Sanitize commander inputs in buildScripts/buildAll.mjs

tobiu
tobiu commented on Dec 2, 2025, 6:31 PM

The commander library does not sanitize inputs by default. This can lead to issues if users provide inputs with quotes (e.g., -t "yes"). We need to implement a sanitizeInput function and apply it to the program options in buildScripts/buildAll.mjs.

References:

  • buildScripts/buildAll.mjs