* Thu Jun 05 2025 Jean-Philippe Pialasse <jpp@koozali.org> 1.6.0-12.sme

- CSP workaround [SME: 13025]
This commit is contained in:
Jean-Philippe Pialasse 2025-06-05 23:49:41 -04:00
parent 4a0ae54def
commit da040fc79e
2 changed files with 7 additions and 2 deletions

View File

@ -3,6 +3,8 @@
<Directory /usr/share/phpldapadmin> <Directory /usr/share/phpldapadmin>
SSLRequireSSL on SSLRequireSSL on
Options -Indexes Options -Indexes
{# this is a workaround waiting for a better phpldapadmin version
}Header set Content-Security-Policy "default-src 'self' ; script-src 'self' 'unsafe-inline' 'unsafe-eval' ; style-src 'self' 'unsafe-inline' "
AllowOverride None AllowOverride None
Require { (($phpldapadmin{access} || 'private' ) eq "public" ) ? "all granted": "ip $localAccess $externalSSLAccess";} Require { (($phpldapadmin{access} || 'private' ) eq "public" ) ? "all granted": "ip $localAccess $externalSSLAccess";}
{ {

View File

@ -6,7 +6,7 @@ Summary: PhpLdapAdmin for SME server
%define name smeserver-phpldapadmin %define name smeserver-phpldapadmin
Name: %{name} Name: %{name}
%define version 1.6.0 %define version 1.6.0
%define release 11 %define release 12
Version: %{version} Version: %{version}
Release: %{release}%{?dist} Release: %{release}%{?dist}
License: Freely distributable License: Freely distributable
@ -22,6 +22,9 @@ Requires: phpldapadmin >= 1.2.6
AutoReqProv: no AutoReqProv: no
%changelog %changelog
* Thu Jun 05 2025 Jean-Philippe Pialasse <jpp@koozali.org> 1.6.0-12.sme
- CSP workaround [SME: 13025]
* Sun Sep 08 2024 fix-e-smith-pkg.sh by Trevor Batley <trevor@batley.id.au> 1.6.0-11.sme * Sun Sep 08 2024 fix-e-smith-pkg.sh by Trevor Batley <trevor@batley.id.au> 1.6.0-11.sme
- Fix e-smith references in smeserver-phpldapadmin [SME: 12732] - Fix e-smith references in smeserver-phpldapadmin [SME: 12732]