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
blockedBy[]
blocking[]
closedAtDec 2, 2025, 6:43 PM

Sanitize commander inputs in buildScripts/buildAll.mjs

Closed v11.15.0 bugai
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
tobiu added the bug label on Dec 2, 2025, 6:31 PM
tobiu added the ai label on Dec 2, 2025, 6:31 PM
tobiu assigned to @tobiu on Dec 2, 2025, 6:32 PM
tobiu closed this issue on Dec 2, 2025, 6:43 PM
tobiu referenced in commit 511eb52 - "Sanitize commander inputs in buildScripts/buildAll.mjs #7977" on Dec 2, 2025, 6:46 PM