]> git.phdru.name Git - mimedecode.git/commitdiff
Add tests for parameters decoding
authorOleg Broytman <phd@phdru.name>
Tue, 18 Feb 2014 21:47:31 +0000 (01:47 +0400)
committerOleg Broytman <phd@phdru.name>
Tue, 18 Feb 2014 21:47:31 +0000 (01:47 +0400)
test/expected/msg_22.txt
test/input/msg_22.txt

index 33831328cbd4c9e819d0dd7242f8d33c95b010ec..a7b5b3584d04f6905121727c588192fe994bc808 100644 (file)
Binary files a/test/expected/msg_22.txt and b/test/expected/msg_22.txt differ
index f400fefa265fc99bdd4dafd5b6d4946bac839ff3..0058b3b555579372f28184a8699d75c185d37c9e 100644 (file)
@@ -26,10 +26,10 @@ qrbBQvms0mAMeYS/3iTV1dG0hHaRNK01XblnWxtVdjkHLMIgTyqnk9VB7CrP2KzIINpa
 4wQRj0wQCMdCAewpaKKK/9k=
 --============_-1208892523==_============
 Content-Id: <a05001902b7f1c33773e9@[134.84.183.138].0.1>
-Content-Type: image/jpeg; name="wibble2.JPG"
+Content-Type: image/jpeg; name*=iso-8859-1''wibble%BD%2EJPG
  ; x-mac-type="4A504547"
  ; x-mac-creator="474B4F4E"
-Content-Disposition: attachment; filename="wibble2.JPG"
+Content-Disposition: attachment; filename*=iso-8859-1''wibble%BD%2EJPG
 Content-Transfer-Encoding: base64
 
 /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB