diff options
| author | EuAndreh <eu@euandre.org> | 2026-04-26 09:54:01 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2026-04-26 09:54:01 -0300 |
| commit | 940399e10faa111ade4a2480a78d6ba692b7d603 (patch) | |
| tree | 8206b37675fbbe275245b2cdf3ebe5847cba6d53 /tests | |
| parent | Implement user mode +T (no CTCP) (diff) | |
| download | papod-940399e10faa111ade4a2480a78d6ba692b7d603.tar.gz papod-940399e10faa111ade4a2480a78d6ba692b7d603.tar.xz | |
Truncate outgoing lines to 512 bytes; safe UTF-8 input handling
Outgoing: cap line at 512 bytes including CRLF, never split a multi-byte
UTF-8 character; 510-byte payload limit + truncate-utf8-bytes helper.
Incoming: read via InputStreamReader (UTF-8) so byte-per-byte input
doesn't decode partial multi-byte sequences as U+FFFD.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
