cloudflare-php icon indicating copy to clipboard operation
cloudflare-php copied to clipboard

setEmailObfuscation have wrong configuration id.

Open erfan-ilyas opened this issue 4 years ago • 0 comments

setEmailObfuscation have the id of disable_security

cloudflare-php/src/Configurations/PageRulesActions.php

LINE:129

    public function setEmailObfuscation(bool $active)
    {
        $this->addConfigurationOption('disable_security', [
            'value' => $this->getBoolAsOnOrOff($active)
        ]);
    }

It should be

$this->addConfigurationOption('email_obfuscation', [

Thanks.

erfan-ilyas avatar Jan 17 '21 17:01 erfan-ilyas