Prečo niektoré e-maily majú nezmyselné reťazce znakov ako hlavičky?

Obsah:

Prečo niektoré e-maily majú nezmyselné reťazce znakov ako hlavičky?
Prečo niektoré e-maily majú nezmyselné reťazce znakov ako hlavičky?

Video: Prečo niektoré e-maily majú nezmyselné reťazce znakov ako hlavičky?

Video: Prečo niektoré e-maily majú nezmyselné reťazce znakov ako hlavičky?
Video: Tech Tips: How to set up parental controls on a Chromebook. - YouTube 2024, Apríl
Anonim
Väčšinu času náš e-mail prichádza bez problémov alebo zvláštností, ale prečo niektorí prichádzajú s nezmyselnými reťazcami znakov ako hlavičky? Dnešný príspevok typu SuperUser Q & A má odpoveď na otázku čudného čitateľa.
Väčšinu času náš e-mail prichádza bez problémov alebo zvláštností, ale prečo niektorí prichádzajú s nezmyselnými reťazcami znakov ako hlavičky? Dnešný príspevok typu SuperUser Q & A má odpoveď na otázku čudného čitateľa.

Dnešná relácia otázok a odpovedí sa k nám pridelí zdvorilosťou SuperUser - podskupiny Stack Exchange, skupín webových stránok týkajúcich sa otázok a odpovedí.

Foto s láskavým dovolením od Judith E. Bell (Flickr).

Otázka

Čítač SuperUser dpdt chce vedieť, prečo dostal e-mail s nezmyselnou hlavičkou:

I recently received an email with the following title:

Thinking that it might be malware, I ran a check with Malwarebytes, but it came up clean. Is there any legitimate reason for the title being a nonsensical string of characters?
Thinking that it might be malware, I ran a check with Malwarebytes, but it came up clean. Is there any legitimate reason for the title being a nonsensical string of characters?

Prečo niektoré e-maily majú nezmyselné reťazce znakov ako hlavičky?

Odpoveď

Používateľ Super3server user313114 nám odpovedal:

What you have is some header text encoded with a failed attempt at RFC 2047.

RFC 2047 is the standard governing the embedding of non-ASCII characters in email headers. It says that headers which do not comply (exactly) with the RFC 2047 standard should be displayed as-is rather than any decoding being attempted. So your email software is seeing the bad header and displaying it “correctly” (as required by the standard).

No mainstream software flouts RFC 2047 so badly as that, so it is probably coming from some dodgy bulk mailing software. The software is making encoded words too long (the line length limit is 76 characters), which is forbidden (RFC 2047 says “MUST NOT”).

Despite being too long, it can be decoded manually. It looks like some sort of recruiter spam:

Image
Image

Máte niečo doplniť vysvetlenie? Znížte komentáre. Chcete si prečítať viac odpovedí od iných používateľov technológie Stack Exchange? Pozrite sa na celý diskusný príspevok tu.

Odporúča: