summaryrefslogtreecommitdiff
path: root/tests/getpart.pm
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-01-18 20:32:46 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-01-18 20:32:46 +0000
commit6da70628c60d4f0914529076db5a72d3ca3fbe61 (patch)
tree212da0b732f0c5e7668e55fc36643519ca4c6e57 /tests/getpart.pm
parent3bae748256260290a49d6a9a12fe53089854f600 (diff)
downloadcurl-6da70628c60d4f0914529076db5a72d3ca3fbe61.tar.gz
Make the test script tag parser a bit more robust.
Check for the .exe extension on mingw32 builds.
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;
}