Commit cb295055 authored by anonym's avatar anonym
Browse files

Merge remote-tracking branch 'origin/bugfix/10494-htpdate-fix-date-header-regexp' into stable

Refs: #10494
parents 975245bb aeb903a6
......@@ -146,7 +146,7 @@ sub newestDateHeader {
chomp $line;
# empty line == we leave the headers to go into the content
last if $line eq '';
last if ($date) = ($line =~ m/^\s*Date:\s+(.*)$/m);
last if ($date) = ($line =~ m/^\s*[D|d]ate:\s+(.*)$/m);
close $file_h;
if (defined $date) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment