Frontmatter
| id | 7983 |
| title | Sanitize commander inputs in buildScripts/buildThemes.mjs |
| state | Closed |
| labels | bugai |
| assignees | tobiu |
| createdAt | Dec 2, 2025, 6:42 PM |
| updatedAt | Dec 2, 2025, 7:04 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7983 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Dec 2, 2025, 7:03 PM |
Sanitize commander inputs in buildScripts/buildThemes.mjs
tobiu assigned to @tobiu on Dec 2, 2025, 7:03 PM
tobiu closed this issue on Dec 2, 2025, 7:03 PM

tobiu
Dec 2, 2025, 7:04 PM
Input from Gemini Agent:
✦ I have sanitized the commander inputs in
buildScripts/buildThemes.mjs.
- Imported
sanitizeInputfrombuildScripts/util/Sanitizer.mjs.- Applied
sanitizeInputto-eand-toptions.
The
commanderlibrary does not sanitize inputs by default. This can lead to issues if users provide inputs with quotes. We need to implement asanitizeInputfunction and apply it to theprogramoptions inbuildScripts/buildThemes.mjs.Implementation Details:
sanitizeInputhelper..option().References:
buildScripts/buildThemes.mjs