SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,15 @@
https://github.com/roundcube/roundcubemail/issues/5336
Index: dovecot_ident.php
--- dovecot_ident.php.orig
+++ dovecot_ident.php
@@ -17,8 +17,7 @@ class dovecot_ident extends rcube_plugin
function add_ident($args)
{
- $args['ident'] = $args['ident'] ? array_merge($args['ident'], array('x-originating-ip' => $_SERVER['REMOTE_ADDR']))
- : array('x-originating-ip' => $_SERVER['REMOTE_ADDR']);
+ $args['preauth_ident'] = array_key_exists('preauth_ident',$args) ? array_merge($args['preauth_ident'], array('x-originating-ip' => $_SERVER['REMOTE_ADDR'])) : array('x-originating-ip' => $_SERVER['REMOTE_ADDR']);
return $args;
}
}