Use Drupal's built-in method for getting the client IP address

Created on 23 March 2025, 12 days ago

Problem/Motivation

There does not seem to be any reason not to use Drupal's method for getting IP address, which has settings to take into account if Drupal is behind a reverse proxy.

Or was there a reason the custom service was made?

Proposed resolution

Swap Drupal's Request::getClientIp() method for our custom service.

Remaining tasks

Do it.

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ“Œ Task
Status

Active

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mlncn Minneapolis, MN, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024