setEmailObfuscation have wrong configuration id.
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 65/100
Research direction
Open cloudflare-php/src/Configurations/PageRulesActions.php at line 129 and inspect setEmailObfuscation. Verify that the configuration identifier used there is the one named in the issue, email_obfuscation, rather than disable_security. Done means the method uses the correct identifier.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- PHP
- Stars
- 674
- Forks
- 268
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudflare/cloudflare-php
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
cloudflare/cloudflare-php#202 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
cloudflare/cloudflare-php#278 · 5 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
cloudflare/cloudflare-php#272 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
cloudflare/cloudflare-php#264 ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
cloudflare/cloudflare-php#251 ·
All issues in cloudflare/cloudflare-php
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
getgrav/grav-plugin-form#656 ·
-
customer-support needs-triage Platform(Default)
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
sync-en
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
-
sync-en
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
-
Перевод устарел
Difficulty 1/5 1-3 hours Newbie friendliness 88/100