Skip to content

WAF: Ensure that non-set $_SERVER['REQUEST_METHOD'] is treated the same as CLI in the sense that the WAF is skipped.#49465

Merged
ArSn merged 2 commits into
trunkfrom
fix/protect-174-cli-cron-403
Jun 12, 2026
Merged

WAF: Ensure that non-set $_SERVER['REQUEST_METHOD'] is treated the same as CLI in the sense that the WAF is skipped.#49465
ArSn merged 2 commits into
trunkfrom
fix/protect-174-cli-cron-403

Change the check to "! isset" to be even safer in detecting CLI envir…

c843a64
Select commit
Loading
Failed to load commit list.
JP Launch Control / Test wpcom filename restrictions succeeded Jun 11, 2026 in 44s

Tests passed

Post-Build run #27361024268 for Build run #27359725722

✅ jetpack: All good!

See run #27361024268 for details.