zlacker

[return to "What's up with all those equals signs anyway?"]
1. quibon+n5[view] [source] 2026-02-03 10:19:29
>>todsac+(OP)
CLRF vs LF strikes again. Partly at least.

I wonder why even have a max line length limit in the first place? I.e. is this for a technical reason or just display related?

◧◩
2. dgan+47[view] [source] 2026-02-03 10:34:36
>>quibon+n5
I am just wondering how it is good idea for a sever to insert some characters into user's input. If a collegue were to propose this, i d laugh in his face

It's just sp hacky i cant belive it's a real life's solution

◧◩◪
3. jagged+58[view] [source] 2026-02-03 10:44:12
>>dgan+47
“Insert characters”?

Consider converting the original text (maintaining the author’s original line wrapping and indentation) to base64. Has anything been “inserted” into the text? I would suggest not. It has been encoded.

Now consider an encoding that leaves most of the text readable, translates some things based on a line length limit, and some other things based on transport limitations (e.g. passing through 7-bit systems.) As long as one follows the correct decoding rules, the original will remain intact - nothing “inserted.” The problem is someone just knowledgeable enough to be aware that email is human readable but not aware of the proper decoding has attempted to “clean up” the email for sharing.

◧◩◪◨
4. dgan+B9[view] [source] 2026-02-03 10:58:12
>>jagged+58
Okey it does sound better from this POV. Still wierd as its a Client/UI concern, not something a server is supposed to do; whats next,adding "bold" tags on the title? Lol
◧◩◪◨⬒
5. brooks+ds[view] [source] 2026-02-03 13:06:43
>>dgan+B9
SMTP is a line-oriented protocol. The server processes one line at a time, and needs to understand headers.

Infinite line length = infinite buffer. Even worse, QP is 7-bit (because SMTP started out ASCII only), so characters >127 get encoded as three bytes (equal, then two hex digits), so a 500-character non-ASCII UTF8 line is 1500 bytes.

It all made sense at the time. Not so much these days when 7-bit pipes only exist because they always have.

[go to top]