diff --git a/testing/dav_test b/testing/dav_test index 2b1c4c00..aaf7f00d 100755 --- a/testing/dav_test +++ b/testing/dav_test @@ -399,7 +399,7 @@ sub run_curl { my $line = $_; # Grab the web server request_id for later reference - if ($line =~ /^Request-ID: (.*?)$/) { + if ($line =~ /^Request-ID: (.*?)\s*$/) { $ENV{REQUEST_ID} = $1; $request_id = $1; print $REQUEST_ID_FILE "$1\n";