Skip Menu |

This queue is for tickets about the MIME-tools CPAN distribution.

Report information
The Basics
Id: 123325
Status: new
Priority: 0/
Queue: MIME-tools

People
Owner: Nobody in particular
Requestors: Laurie.Mcintosh [...] mimeanalytics.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Not a bug, a feature request
Date: Wed, 18 Oct 2017 22:58:17 +0000
To: "bug-MIME-tools [...] rt.cpan.org" <bug-MIME-tools [...] rt.cpan.org>
From: Laurie Mcintosh <Laurie.Mcintosh [...] mimeanalytics.com>
Would like to see an option added to exorcise_filename so it takes a parameter to determine whether to do its default action - create an exorcsied filename - or to exorcise it by removing the evil characters only. I'm overriding this in my own situation with; *{MIME::Parser::Filer::exorcise_filename} = sub { my $em = shift; my $fn = shift; $fn =~ s/[^-A-Za-z0-9_+=.,@\#\$ ]*//g; return $fn; }; Laurie McIntosh Chief Technical Officer [cid:image001.png@01D1A075.8046DAC0] e. laurie.mcintosh@mimeanalytics.com<mailto:laurie.mcintosh@mimeanalytics.com> w. www.mimeanalytics.com<http://www.mimeanalytics.com/> United Kingdom New Zealand t. (+44) (0) 845 450 1636 m. (+44) (0) 747 838 5279 m. (+64) (21) 590 925 Mime Analytics UK Ltd. Mime Analytics Ltd Green Park House Suite 2, Level 1, 60 Augustus Tce 15 Stratton Street Parnell, Auckland 1052 London W1J 8LQ, UK New Zealand
Download image001.png
image/png 4.2k
image001.png