2 Commits

Author SHA1 Message Date
00f46e1e5a * Wed Feb 12 2025 Jean-Philippe Pialasse <jpp@koozali.org> 1.6-6.sme
- fix typo in roundcubemail.action [SME: 12917]
2025-02-12 23:34:49 -05:00
b6255d91c3 * Fri Jan 03 2025 Jean-Philippe Pialasse <jpp@koozali.org> 1.6-5.sme
- set more relaxed CSP for roundcube [SME: 12861]
2025-01-03 14:48:56 -05:00
3 changed files with 14 additions and 2 deletions

View File

@@ -1 +1 @@
roundcubemail:any:/sbin/e-smith/signal-event smeserver-roundcube
roundcubemail:any:/sbin/e-smith/signal-event smeserver-roundcube-update

View File

@@ -23,6 +23,12 @@
} else {
$OUT .= " Alias /$place $dirs{$place}\n";
}
$OUT .= " <Location '/$place'>\n";
# strict CSP not yet supported see https://github.com/roundcube/roundcubemail/issues/6202 and few others
$OUT .= " Header set Content-Security-Policy \"default-src 'none'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self'; frame-src 'self'; connect-src 'self'; frame-ancestors 'self'; base-uri 'self'; form-action 'self';\"\n";
$OUT .= " </Location>\n";
}
}

View File

@@ -1,6 +1,6 @@
%define name smeserver-roundcube
%define version 1.6
%define release 4
%define release 6
Summary: smserver rpm to setup roundcube, an IMAP mail client
Name: %{name}
@@ -85,6 +85,12 @@ fi
%attr(755,root,root) /usr/bin/rcplugin_update.sh
%changelog
* Wed Feb 12 2025 Jean-Philippe Pialasse <jpp@koozali.org> 1.6-6.sme
- fix typo in roundcubemail.action [SME: 12917]
* Fri Jan 03 2025 Jean-Philippe Pialasse <jpp@koozali.org> 1.6-5.sme
- set more relaxed CSP for roundcube [SME: 12861]
* Sat Dec 14 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.6-4.sme
- fix roundcube not working on initial install [SME: 12812]