We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test/codecs/mail_codec_test.dart
import 'package:enough_mail/src/codecs/mail_codec.dart'; import 'package:test/test.dart'; // cSpell:disable void main() { // omitted group('Decode header', () { // omitted test('decode header with mixed encodings', () { const input = '=?UTF-8?Q?Chyba_v_p=C5=99enosu_textu_z_formul=C3=A1=C5=99e_Operace_?=' ' =?UTF-8?B?4oCTIHBsw6Fub3bDoW7DrSBkbyBmb3JtdWzDocWZZSBPcGVyYcSNbsOt?=' ' =?UTF-8?Q?_program=2Edocx?='; expect(MailCodec.decodeHeader(input), 'Chyba v přenosu textu z formuláře Operace – plánování do formuláře Operační program.docx'); }); }); }
FormatException: Invalid character (at character 65) 4oCTIHBsw6Fub3bDoW7DrSBkbyBmb3JtdWzDocWZZSBPcGVyYcSNbsOt_program=2Edocx= ^ dart:convert/base64.dart 705:7 _Base64Decoder.decodeChunk dart:convert/base64.dart 629:14 _Base64Decoder.decode dart:convert/base64.dart 509:26 Base64Decoder.convert dart:convert/base64.dart 83:47 Base64Codec.decode package:enough_mail/src/codecs/base64_mail_codec.dart 132:19 Base64MailCodec.decodeData package:enough_mail/src/codecs/base64_mail_codec.dart 137:24 Base64MailCodec.decodeText package:enough_mail/src/codecs/mail_codec.dart 243:30 MailCodec._decodeHeaderImpl package:enough_mail/src/codecs/mail_codec.dart 209:5 MailCodec.decodeHeader
enough_mail/lib/src/codecs/mail_codec.dart
Lines 203 to 204 in 41ac974
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Test case
test/codecs/mail_codec_test.dart
Stack trace
Cause
enough_mail/lib/src/codecs/mail_codec.dart
Lines 203 to 204 in 41ac974
The text was updated successfully, but these errors were encountered: