From 1c081ced741a246e8a23b306ac02c38a64f8def7 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 23 Oct 2024 21:13:45 +0000 Subject: [PATCH] Issue 14488: Extended date change range for signatures --- src/Util/HTTPSignature.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Util/HTTPSignature.php b/src/Util/HTTPSignature.php index d7679abd1f..68bd049855 100644 --- a/src/Util/HTTPSignature.php +++ b/src/Util/HTTPSignature.php @@ -761,9 +761,9 @@ class HTTPSignature } if (in_array('(expires)', $sig_block['headers']) && !empty($sig_block['expires'])) { - $expired = min($sig_block['expires'], $created + 300); + $expired = min($sig_block['expires'], $created + 3600); } else { - $expired = $created + 300; + $expired = $created + 3600; } // Check if the signed date field is in an acceptable range