aboutsummaryrefslogtreecommitdiff
path: root/tests/getpart.pm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/getpart.pm')
-rw-r--r--tests/getpart.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/getpart.pm b/tests/getpart.pm
index ccfbd7d62..9ade56a19 100644
--- a/tests/getpart.pm
+++ b/tests/getpart.pm
@@ -64,7 +64,7 @@ sub getpart {
$inside++;
}
elsif((1 ==$inside) && ($_ =~ /^ *\<$part[ \>]/)) {
- if($_ =~ /$part .*base64=/) {
+ if($_ =~ /$part [^>]*base64=/) {
# attempt to detect base64 encoded parts
$base64=1;
}