PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.0
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.0
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
← All changes | back/Libraries/Mailer/Mailer.php +3 -3 10.2.2 → 11.1.0 View file →
@@ -1850,9 +1850,9 @@
1850 1850 }
1851 1851
1852 1852 $length = strlen($string);
1853 1853
1854 - for ($i = 0 ; $i < $length ; ++$i) {
1854 + for ($i = 0; $i < $length; ++$i) {
1855 1855 $c = $string[$i];
1856 1856
1857 1857 //All other characters have a special meaning in at least one common shell, including = and +.
1858 1858 //Full stop (.) has a special meaning in cmd.exe, but its impact should be negligible here.
@@ -3671,9 +3671,9 @@
3671 3671 //Base64 has a 4:3 ratio
3672 3672 $avgLength = floor($length * $ratio * .75);
3673 3673
3674 3674 $offset = 0;
3675 - for ($i = 0 ; $i < $mb_length ; $i += $offset) {
3675 + for ($i = 0; $i < $mb_length; $i += $offset) {
3676 3676 $lookBack = 0;
3677 3677 do {
3678 3678 $offset = $avgLength - $lookBack;
3679 3679 $chunk = mb_substr($str, $i, $offset, $this->CharSet);
@@ -4872,9 +4872,9 @@
4872 4872 public function DKIM_QP($txt)
4873 4873 {
4874 4874 $line = '';
4875 4875 $len = strlen($txt);
4876 - for ($i = 0 ; $i < $len ; ++$i) {
4876 + for ($i = 0; $i < $len; ++$i) {
4877 4877 $ord = ord($txt[$i]);
4878 4878 if (((0x21 <= $ord) && ($ord <= 0x3A)) || $ord === 0x3C || ((0x3E <= $ord) && ($ord <= 0x7E))) {
4879 4879 $line .= $txt[$i];
4880 4880 } else {