Remove unsafe authorization (#1184)

environments/ppa-mbqj77/deployments/1
Xavier Guimard 8 years ago
parent b85cedcc3e
commit 03339738b7
  1. 2
      lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/DefaultValues.pm
  2. 2
      lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Attributes.pm
  3. 2
      lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/Attributes.pm
  4. 2
      lemonldap-ng-manager/site/htdocs/static/struct.json

@ -31,7 +31,7 @@ sub defaultValues {
'cspFont' => '\'self\'',
'cspImg' => '\'self\' data:',
'cspScript' => '\'self\'',
'cspStyle' => '\'self\' \'unsafe-inline\'',
'cspStyle' => '\'self\'',
'dbiAuthnLevel' => 2,
'dbiExportedVars' => {},
'demoExportedVars' => {

@ -833,7 +833,7 @@ qr/(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.]
'type' => 'text'
},
'cspStyle' => {
'default' => '\'self\' \'unsafe-inline\'',
'default' => '\'self\'',
'type' => 'text'
},
'customAddParams' => {

@ -477,7 +477,7 @@ sub attributes {
},
cspStyle => {
type => 'text',
default => "'self' 'unsafe-inline'",
default => "'self'",
documentation => 'Style source for Content-Security-Policy',
},
cspConnect => {

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save