From: shuhei Date: Sun, 22 Apr 2001 05:31:31 +0000 (+0000) Subject: (test-rfc2231-9): New testcase. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=addc8c2b4ac28b1190713e6d545daa48f19495de;p=elisp%2Fflim.git (test-rfc2231-9): New testcase. --- diff --git a/tests/test-rfc2231.el b/tests/test-rfc2231.el index e444f43..48d91ef 100644 --- a/tests/test-rfc2231.el +++ b/tests/test-rfc2231.el @@ -96,3 +96,15 @@ title*=us-ascii'en-us'This%20is%20%2a%2a%2afun%2a%2a%2a") "title") "This is ***fun***")))) + +;;; unencoded segments MUST NOT be decoded. +(luna-define-method test-rfc2231-9 ((case test-rfc2231)) + (lunit-assert + (string= + (mime-content-type-parameter + (mime-parse-Content-Type "application/x-stuff; + title*0*=us-ascii'en'This%20is%20even%20more%20; + title*1*=%2A%2A%2Afun%2A%2A%2A%20; + title*2=\"isn%27t%20it!\"") + "title") + "This is even more ***fun*** isn%27t%20it!")))