From nobody Tue Feb 7 20:43:59 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PBFTq3DkVz3nhJy for ; Tue, 7 Feb 2023 20:43:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PBFTq17frz3J9n for ; Tue, 7 Feb 2023 20:43:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675802639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pMYyhwUiylLlEjNli3f1HF1MX7MsT+pSsqW0dfsTsPY=; b=pXMHfZcaCAJ5cwzJFxzB4fEnxSaf28d5OkvkmjWWZS2j5opYJP4yuvhewN8euFV3zWbuI5 MKOlM7e9Y/IEQim8nRwscZdV2WSEn8xkbal+hnBYGqCm33H9wAfHKQ0xJQNZglTgvZQ87y 3iTZDa9CaWIfp9Utw0ozw9aO8Oz4bvfii/O9X+Y7Hk3QSewdIY8SrgNJbehgG5nI1YGUPT 5Fs5Pr9pwIt5sdTvjxqdX6A5f5Tw7y9J5Ka+ebCdbCzZUkpkHrhd6ZRt7SMmQmw3p4NOQd v6Xe9KIzfzV9VQvXRZXK0xtxH1EHLP/Vicm35YdLyfQlLu4j2y+SamAs11p1wQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675802639; a=rsa-sha256; cv=none; b=I8fT6ctX7tjcqymlOf9JryxdspmCmFtwzzH9wXzZaKpAsLjJjLXAddwlZCGUzhigo2XjyM pYi/+hKzCnJEUuu/zymMmdDo7FbaqlEpzesXSpFmT2NCYUNj9mj7CYyM2KgEEfWoVq7PAP MKzOmc8I4zzlHOe06Sr4ATGnfhAArP3z5Ibxd7hb2Jl4KqYc+9dtaAkaQStshq77PBgc2i 5Ki1EHG0QD6q19nc/tehYLY0y5i7HHNy9dmwYXlT2xX6LWIRUdUbWZu5aeqYA40kZ41Ja5 NLlAoZQKhodI96u8Cr+Ryl69el+7B04QtBmwCqLQcFbETMQh/TVPTxDrNj251A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PBFTq0BYnzWWZ for ; Tue, 7 Feb 2023 20:43:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 317KhwLk054430 for ; Tue, 7 Feb 2023 20:43:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 317Khwhx054429 for ports-bugs@FreeBSD.org; Tue, 7 Feb 2023 20:43:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 265395] mail/squirrelmail: INBOX does not populate messages after upgrading php 7.4 to php 8.0 Date: Tue, 07 Feb 2023 20:43:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: uzsolt@uzsolt.hu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265395 --- Comment #6 from Zsolt Udvari --- IMHO revision 14978 ("Fix poorly written timezone parsing") fixes this bug: $ svn diff -r14978:14976 Index: functions/date.php =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- functions/date.php (revision 14978) +++ functions/date.php (revision 14976) @@ -81,16 +81,13 @@ function getGMTSeconds($stamp, $tzc) { break; } $neg =3D false; - if (preg_match('/^([+-]?)(\d\d)(\d\d)$/', $tzc, $matches)) { - if ($matches[1] =3D=3D=3D '-') - $neg =3D true; - $hh =3D $matches[2]; - $mm =3D $matches[3]; - } else { - // anything not listed above and not in the form +0400 - // defaults to UTC - $hh =3D $mm =3D 0; + if (substr($tzc, 0, 1) =3D=3D '-') { + $neg =3D true; + } else if (substr($tzc, 0, 1) !=3D '+') { + $tzc =3D '+'.$tzc; } + $hh =3D substr($tzc,1,2); + $mm =3D substr($tzc,3,2); $iTzc =3D ($hh * 60 + $mm) * 60; if ($neg) $iTzc =3D -1 * (int) $iTzc; /* stamp in gmt */ I send a bug report to update squirrelmail: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269396 --=20 You are receiving this mail because: You are the assignee for the bug.=