base-64 ignored

Ingo Klöcker kloecker at kde.org
Thu May 26 17:25:48 BST 2022


On Donnerstag, 26. Mai 2022 18:11:39 CEST gene heskett wrote:
> On Thursday, 26 May 2022 11:22:45 EDT Ingo Klöcker wrote:
> > On Donnerstag, 26. Mai 2022 14:31:59 CEST gene heskett wrote:
> > > The following email from a business is not being decoded.
> > > ------=_Part_29546_1281477845.1653517724260
> > > MIME-Version: 1.0
> > > Content-Type: text/html; charset="utf-8"
> > > Content-Transfer-Encoding: base64
> > > 
> > > 77u/
> > > Cgo8IURPQ1RZUEUgaHRtbCBQVUJMSUMgIi0vL1czQy8vRFREIFhIVE1MIDEuMCBUcmFuc
> > > 2l0
> > > 
> > > +83k of additional data, ending in:
> > > 
> > > ------=_Part_29546_1281477845.1653517724260--
> > > 
> > > Why?
> > 
> > Probably a bug in KMail. Maybe it's confused because the first line
> > contains only 4 characters. `base64 --decode` could decode the data
> > without problems.
> 
> it's not 77u/ alone on a line, its all one line as displayed in kmail.
> is the / an illegal char in base 64?

Ah, okay. So the line got word-wrapped in your email. No, / is a legal char in 
base64. Maybe the end of the base64-encoded data is broken. Try decoding the 
data with `base64 --decode`.

Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdepim-users/attachments/20220526/9ba8b884/attachment.sig>


More information about the kdepim-users mailing list