Gravity Forms 2.2: Changes to Entry IP Detection

Gravity Forms 2.2: Changes to Entry IP Detection

With the release of Gravity Forms version 2.2, changes have been made to the IP displayed when a form entry is generated.
Previously, Gravity Forms would check for the X-Forwarded-For header, and use that IP. This would allow for proxied connections such as Cloudflare to report the user』s IP, instead of showing the IP of the server making the request (such as Cloudflare).
To more accurately report IP addresses, this functionality has been removed. Entries will now show the IP address of the server physically making the request.
Of course, this can cause issues for some sites that are behind a reverse proxy. To solve this problem, we』ve placed a hook that will allow the the X-Forwarded-For header to be used. It can be found at the following:
gform_ip_address filter

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注