1
0
forked from pool/roundcubemail
roundcubemail/roundcubemail-1.4.7-config_dir.patch
Lars Vogdt d685e2c3a3 Accepting request 818992 from home:stroeder:branches:server:php:applications
- update to 1.4.7 with security fix:
  * Security: Fix cross-site scripting (XSS) via HTML messages with malicious svg/namespace
  * Fix bug where subfolders of special folders could have been duplicated on folder list
  * Increase maximum size of contact jobtitle and department fields to 128 characters
  * Fix missing newline after the logged line when writing to stdout (#7418)
  * Elastic: Fix context menu (paste) on the recipient input (#7431)
  * Fix problem with forwarding inline images attached to messages with no HTML part (#7414)
  * Fix problem with handling attached images with same name when using
    database_attachments/redundant_attachments (#7455)

OBS-URL: https://build.opensuse.org/request/show/818992
OBS-URL: https://build.opensuse.org/package/show/server:php:applications/roundcubemail?expand=0&rev=143
2020-07-06 16:43:33 +00:00

14 lines
555 B
Diff

Index: roundcubemail-1.4.7/program/include/iniset.php
===================================================================
--- roundcubemail-1.4.7.orig/program/include/iniset.php
+++ roundcubemail-1.4.7/program/include/iniset.php
@@ -28,7 +28,7 @@ if (!defined('INSTALL_PATH')) {
}
if (!defined('RCMAIL_CONFIG_DIR')) {
- define('RCMAIL_CONFIG_DIR', getenv('ROUNDCUBE_CONFIG_DIR') ?: (INSTALL_PATH . 'config'));
+ define('RCMAIL_CONFIG_DIR', getenv('ROUNDCUBE_CONFIG_DIR') ?: '/etc/roundcubemail');
}
if (!defined('RCUBE_LOCALIZATION_DIR')) {