summaryrefslogtreecommitdiff
tag namev0.56.0 (be2aa4701c8244e5c0718804d48d0e8495461afd)
tag date2024-08-04 11:36:43 +0700
tagged byShulhan <ms@kilabit.info>
tagged objectcommit f703cf50a4...
downloadpakakeh.go-0.56.0.tar.xz
Release pakakeh.go v0.56.0 (2024-08-04)
== New features * cmd/emaildecode: CLI to decode email body to plain text The emaildecode accept file as input. If the email header contains content-transfer-encoding with value quoted-printable or base64, it will decode the message body and print it to stdout as plain text. == Bug fixes * lib/memfs: another fix for refresh In previous commit we use wrong condition when handling directory "." as Root. == Enhancements * lib/email: allow message that end lines with LF only Although, a message from network must end with CRLF, a message from (another) client may have been sanitized and end with LF only. * lib/email: decode the message body based on content-transfer-encoding After the header and body has been parsed, if the header contains Content-Transfer-Encoding, we decode the body into its local formats. Currently supported encoding is "quoted-printable" and "base64". == Others * lib/email: export the Header fields By exporting the fields, this allow the caller to filter or manage the field manually. * _doc: add partial note and summary for RFC 2183 The RFC 2183 is define Content-Disposition header field in the internet message. * lib/ini: mention that marshaling []byte does not supported Due to "byte" is considered as "uint8" during reflection, we cannot tell whether the value is slice of byte of slice of number with type uint8. -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyS35x1RIQ2SkuGz5KU2C1AMnE8AUCZq8HdAAKCRBKU2C1AMnE 8Lq9AQCTzUZkTfFYaTYOCRUgYYdYhADK12QVd/Q9xCRPWAWkeAEAi5LQffZimbvO CL3K55do1JYXDnY5gETcZ+YcnDugxA0= =F6Ob -----END PGP SIGNATURE-----