Skip to content

fix(woocommerce): use the configured trusted-proxy IP resolver - #84

Merged
cport1 merged 2 commits into
mainfrom
fix/878-woo-client-ip
Sep 6, 2026
Merged

fix(woocommerce): use the configured trusted-proxy IP resolver#84
cport1 merged 2 commits into
mainfrom
fix/878-woo-client-ip

Conversation

@cport1

@cport1 cport1 commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Fixes WebDecoy/app#878.

WooCommerce now delegates checkout IP resolution to the configured WebDecoy singleton instead of creating a SignalCollector with an empty trusted-proxy list. Checkout rate limits, attempt records, and payment-failure attribution share the same resolver as the rest of the plugin.

Added regression coverage for distinct shoppers behind a trusted proxy, ignored untrusted forwarding headers, and direct-request spoofing. Added docs/woocommerce-ip-history.md explaining why historical proxy-collapsed attempts cannot be safely backfilled and how to mark the trustworthy deployment boundary.

Validation: php tests/run.php (96 passed, 0 failed), PHP syntax checks, git diff --check.

Created in an isolated worktree; existing release-related edits in the main working checkout are untouched.

@cport1
cport1 merged commit 893eb60 into main Sep 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant