From nobody Tue May 31 05:32:09 2022 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 16A641B5D4C7 for ; Tue, 31 May 2022 05:32:10 +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 4LC1B14F6Jz4T1w for ; Tue, 31 May 2022 05:32:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 7203325B52 for ; Tue, 31 May 2022 05:32:09 +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 24V5W9iI059473 for ; Tue, 31 May 2022 05:32:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24V5W9UX059472 for ports-bugs@FreeBSD.org; Tue, 31 May 2022 05:32:09 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 264343] mail/squirrelmail: Fix spell checker not working Date: Tue, 31 May 2022 05:32:09 +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: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: uzsolt@uzsolt.hu X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653975129; 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=+7alp2fHfi+kkaFG9LFEOFvfE4vXw0AfhJl+3+2vdts=; b=TT4QzL4eI6odgV6MWrV0tgGv0anieTFdjVTPVSdS+dRjEEph5tb+gYFe6px4u4g0WRwWB1 zXDxtjEjMEN02cg43WPiNImLQbssbsbTS+QBr/b3hlQImk57MWX2f4W/K3CGEK0ltFqNzS ieS9dJLhN28+3KgclW+Nh7/zzNyVT6nAxS7Tdlj4p/sWCdf/qIisjEEEOqt7lYpUE5fRtp J2IC61q0fIaLB8AXEd1waUGdbjk3cr7lvvZ0NQR9up12shg18exK6EtK6HvDiDG8y6nqKF YrEDzpblD3NJZdEXU4qVme27zgob5VrjLC+nE/2kHDpDCoG3DOuvk7LE0zjtJQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653975129; a=rsa-sha256; cv=none; b=fSz685uJM413EYbRM7Ufd4LetzNB0majCQNzVrKPzWsiJ3QDRN3grgNVW7pEsjmXSsB5tv BOT0j+dQHPVj5k7IiI5jBsESWrJV7DZRIN/6n0R5pxNUH3SeCFnFTr4GKO6EqB2I+FUohD JGNUJ5BHrxs4lIF573q6pgEhwaKem2YLw6lBO+xOr22OZOU73cBUyIqqusQEI3FN8M60v9 n/xpKkRcQMBZM7FQdo/NhRRjqi+NzRpTdQ9bvsaVL7u2fGTXebcG3UHGUNu9H1jAmytWfk npn0tUScbbhqbEHeN1uD/TpJA4Sl4yFzKTHtA7o9+K5GEgKhbMCuKM3zUt5lAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264343 --- Comment #3 from Zsolt Udvari --- Hm, I can see the problem: the ereg is deprecated and removed from PHP7+ and should use preg_match instead. But there are one problem (at least): these functions return values differ, ereg:=20 "Returns the length of the matched string if a match for pattern was found = in string, or FALSE if no matches were found or an error occurred. If the optional parameter regs was not passed or the length of the matched string is 0, this function returns 1." preg_match: "preg_match() returns 1 if the pattern matches given subject, 0 if it does = not, or false on failure. " We should check every calls of ereg and check the parameters and the handle= of return value - and change it if needed. --=20 You are receiving this mail because: You are the assignee for the bug.=