From owner-freebsd-ports-bugs@freebsd.org Tue Sep 22 12:36:32 2015 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 931839CF43C for ; Tue, 22 Sep 2015 12:36:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7EC871481 for ; Tue, 22 Sep 2015 12:36:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t8MCaWWw092224 for ; Tue, 22 Sep 2015 12:36:32 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 203260] mail/roundcube: FreeBSD patch in the port re-introduces the "Your session is invalid or expired" bug Date: Tue, 22 Sep 2015 12:36:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: Mark.Martinec@ijs.si X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ale@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2015 12:36:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203260 Bug ID: 203260 Summary: mail/roundcube: FreeBSD patch in the port re-introduces the "Your session is invalid or expired" bug Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ale@FreeBSD.org Reporter: Mark.Martinec@ijs.si Flags: maintainer-feedback?(ale@FreeBSD.org) Assignee: ale@FreeBSD.org The full issue is described at: http://trac.roundcube.net/ticket/1490546 It turns out that this SQL issue has long been fixed (or better: worked-around) in the Roundcube distribution, yet the patch in the FreeBSD port (files/patch-program_lib_Roundcube_rcube_session.php) re-introduces the problem by avoiding base64 encoding of the session.vars field in SQL, naively hoping that PHP's interface to SQL won't choke on a NULL byte in a data string. As a result a user gets logged out with a "Your session is invalid or expired" message on certain operations. Using roundcube-1.1.3, php 5.5.29, postgresql 9.3.9, FreeBSD 10.2 -- You are receiving this mail because: You are the assignee for the bug.