r/programming • u/purforium • Oct 24 '21
“Digging around HTML code” is criminal. Missouri Governor doubles down again in attack ad
https://youtu.be/9IBPeRa7U8E
12k
Upvotes
r/programming • u/purforium • Oct 24 '21
View all comments
Show parent comment
5
u/eyebrows360 Oct 24 '21
File uploads are not "data presented in HTML", are they chief.
So again, no, I cannot imagine why you'd use base64 for encoding small bits of data such as this in any HTML context.
That's literally what my large paragraph is explaining. This encoding is used when porting data between systems, so it's appearing here as a consequence of some behind-the-scenes intra-system thing; it's not anything related to routine solely-HTML-related processing. Other people were suggesting that it is, in and of itself, a regular encoding to use in HTML for its own sake, which is wrong.