https://gitlab.synchro.net/main/sbbs/-/commit/9dec26e6d38d842bfa9f0228
Modified Files:
docs/v322_new.md src/sbbs3/sbbsecho.c
Log Message:
sbbsecho: support FSP-1030 UCSFROM/UCSTO/UCSSUBJ control lines
FTS-0001 packet headers hold 35 bytes of To/From and 71 of Subject, which
in UTF-8 can be as few as 8 and 17 characters. FSP-1030 (preserved as
FRL-1021) carries the full field in a ^AUCSFROM:, ^AUCSTO: or ^AUCSSUBJ: control line. GoldED+ and AmberEdit now write them.
Export: when a UTF-8 message's To, From or Subject does not fit its packet header field, echomail export and create_netmail() add the matching UCS*
line with the full value (not on ASCII-only sub-boards, and not when the message already carries one).
Import: for a UTF-8 message (per CHRS/CHARSET, or auto-detection), a UCS*
line replaces the header field only if it extends what the packet header already says (allowing for a trailing partial UTF-8 sequence left by the sender's tosser), so it cannot substitute a different name or subject. An applied line is consumed; any other is kept as an unrecognized control
line, as before.
The full fields are worked out before anything matches on them:
- twit list and subject filtering check the full fields as well as the
packet's, so a filtered name or word past the cut is still caught, and
entries written against cut names keep matching
- netmail recipient matching (robots, AreaFix/ping, sysop aliases, user
lookup) and the echomail recipient notification use the full To; user
name matching ignores non-ASCII bytes, so a cut To could otherwise
match a different local user than the full one
Refs #1276
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net