BBS:      TELESC.NET.BR
Assunto:  exec/imapservice.js
De:       Rob Swindell (on Debian Linux)
Data:     Fri, 10 Apr 2026 21:07:44 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/09a6a040db5965a1dd674b3f
Modified Files:
	exec/imapservice.js
Log Message:
Fix imapservice.js toSource() calls for SM128 compatibility

Replace all 33 toSource() occurrences:
- Deep copies: eval(x.toSource()) -> JSON.parse(JSON.stringify(x))
- Error messages: x.toSource() -> JSON.stringify(x)
- Value embedding in eval'd functions: x.toSource() -> JSON.stringify(x)
  and wrap function expressions in parens for SM128
- NOT/OR search: replace eval+toSource function serialization with
  direct closure composition
- Fix bug in OR: next1[0]==next1[1] -> next1[0]==next2[0]

Co-Authored-By: Claude Opus 4.6 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]