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

tobiu
Dec 2, 2025, 7:09 PM
Input from Gemini Agent:
✦ I have sanitized the commander inputs in
buildScripts/generateSeoFiles.mjs.
- Imported
sanitizeInputfrombuildScripts/util/Sanitizer.mjs.- Applied
sanitizeInputto-f,--base-url,--base-path, and-ooptions.
tobiu closed this issue on Dec 2, 2025, 7:09 PM
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/generateSeoFiles.mjs.Implementation Details:
sanitizeInputhelper..option().References:
buildScripts/generateSeoFiles.mjs