OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
regular expression with postfix

From: Tom Lee (tom_lee01hotmail.com)
Date: Mon Oct 02 2006 - 14:12:14 CDT


Hello,

Microsoft has the problems in handling with the attachment with a
non-english language names.

I want to change the following

Content-Type: image/jpeg; name="=?utf-8?Q?=EC=8A=A4=EC=BA=9400111001.jpg?="
Content-Disposition: attachment;
filename="=?utf-8?Q?=EC=8A=A4=EC=BA=9400111001.jpg?="

to

Content-Type: image/jpeg; name="changed.jpg"
Content-Disposition: attachment; filename="changed.jpg"

here is what I used in header_checks:
/^(content-(type|disposition):.*;[[:space:]]*(file)?name[[:space:]]*=[[:space:]]*")([=\?]*([^."]*)\?=)(".*)/
        REPLACE ${1}changed_filename${3}

it doesn't work.
not sure if I missed something here?

Thanks.

Tom

_________________________________________________________________
Try the new Live Search today!
http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&FORM=WLMTAG