[Bug 277571] mail/snappymail: Fix error while accessing admin page

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 08 Mar 2024 05:37:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277571

            Bug ID: 277571
           Summary: mail/snappymail: Fix error while accessing admin page
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://github.com/the-djmaze/snappymail/issues/1472
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yasu@freebsd.org
          Reporter: DtxdF@disroot.org
             Flags: maintainer-feedback?(yasu@freebsd.org)
          Assignee: yasu@freebsd.org

Created attachment 249017
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=249017&action=edit
mail-snappymail-Fix-error-while-accessing-admin-page.patch

Description:

On a fresh installation, the admin page returns a 500 error, indicating
a web server error. The logs reveal what the problem is, which is already
fixed in upstream [1], but until a new version of snappymail is released,
the user will see the following error:

```
RainLoop\Config\Application::SetPassword(): Argument #1 ($oPassword) must be of
type SnappyMail\SensitiveString, string given, called in
/usr/local/www/snappymail/snapp
ymail/v/2.35.2/app/libraries/RainLoop/Actions.php on line 672
```

[1] https://github.com/the-djmaze/snappymail/issues/1472

QA:

* portlint: OK (looks fine.)
* testport: OK (poudriere: 14.0-RELEASE, amd64, GNUPG LDAP MYSQL PGSQL REDIS
SQLITE3 tested)

-- 
You are receiving this mail because:
You are the assignee for the bug.