$bound in regex not quoted
Status: Beta
Brought to you by:
ryanvm
On line 65 in version 0.8.4, $bound is not quoted with
\Q$bound\E... This breaks some emails from mailers like
incredimail that use ++ in the boundary; as ++ is invalid regular
expression syntax. There is no reason not to add \Q \E to the
regular expression as $bound shouldn't be processed for RE
characters.
Logged In: YES
user_id=598446
I originally submitted this bug. Fix:
Line 65:
if (($bound ne "") && ($_[0] =~ /^[\s-]*$bound/))
becomes
if (($bound ne "") && ($_[0] =~ /^[\s-]*\Q$bound\E/))
Logged In: YES
user_id=598446
Fixed in 0.8.6...