Merge pull request #2080 from fdisamuel/master

Google Document viewer and Managesieve Fixes
This commit is contained in:
RainLoop Team 2021-04-22 19:02:15 +03:00 committed by GitHub
commit 6a615c5d65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -113,7 +113,7 @@ class ManageSieveClient extends \MailSo\Net\NetClient
*/
public function Connect($sServerName, $iPort,
$iSecurityType = \MailSo\Net\Enumerations\ConnectionSecurityType::AUTO_DETECT,
$bVerifySsl = false, $bAllowSelfSigned = true)
$bVerifySsl = false, $bAllowSelfSigned = true, $sClientCert = '')
{
$this->iRequestTime = \microtime(true);

View file

@ -506,7 +506,7 @@ class ServiceActions
if (\method_exists($this->oActions, $sMethodName))
{
@\header('X-Raw-Action: '.$sMethodName, true);
@\header('Content-Security-Policy: script-src \'none\'; child-src \'none\'', true);
@\header('Content-Security-Policy: script-src \'none\'; child-src \'none\' docs.google.com apis.google.com', true);
$sRawError = '';
$this->oActions->SetActionParams(array(