mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Bugfix: use_local_proxy_for_external_images is part of labs, not security
@SonarSource
This commit is contained in:
parent
d0fb4ee2f6
commit
0db6c6ab5f
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ abstract class Api
|
|||
$CSP->report_only = $oConfig->Get('debug', 'enable', false); // || SNAPPYMAIL_DEV
|
||||
|
||||
// Allow https: due to remote images in e-mails or use proxy
|
||||
if (!$oConfig->Get('security', 'use_local_proxy_for_external_images', '')) {
|
||||
if (!$oConfig->Get('labs', 'use_local_proxy_for_external_images', '')) {
|
||||
$CSP->add('img-src', 'https:');
|
||||
$CSP->add('img-src', 'http:');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue