From 80b94eb47ac92535736b87be6d0ad4e1f924020a Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Tue, 22 May 2012 18:14:10 -0400 Subject: [PATCH] removed newline --- plugins/check_basicheaders | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/check_basicheaders b/plugins/check_basicheaders index 70f765f..8f0e1c5 100644 --- a/plugins/check_basicheaders +++ b/plugins/check_basicheaders @@ -129,6 +129,7 @@ sub hook_data_post { $self->log(LOGINFO, "fail: no date"); return ($deny, "We require a valid Date header"); }; + chomp $date; my $err_msg = $self->invalid_date_range($date); if ( $err_msg ) {