mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +00:00
Ensure that request_id has no \r or \n characters.
This commit is contained in:
parent
87c3df891b
commit
a02fffa4ca
@ -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";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user