https://gitlab.synchro.net/main/sbbs/-/commit/a923481d60d196ea331efafd
Modified Files:
.claude/skills/javascript/SKILL.md
Log Message:
skills/javascript: document INI trailing-comment type-dependency
Synchronet .ini value parsing strips a trailing "; comment" only for single-token value types (boolean via isTrue, enum via parseEnum, and integer/float/datetime via the numeric parse). STRING values keep the
whole post-'=' text (truncsp only), so an inline comment after a
string-valued key becomes part of the value -- the trap that corrupts URL/path/name settings. File.iniGetObject() reads every value as a raw
string and thus never strips inline comments.
Add a "Reading INI files (and the trailing-comment trap)" section with
the per-type table, the rationale (single-token values have no
delimiter ambiguity; strings do), and the history behind the
single-token support (cceb1fbb8 isTrue after FozzTexx's sexpots.ini
report; 7346893d6 enum-after-comment).
Co-Authored-By: Claude Opus 4.8 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net