Following Drupal best practices I think it would be better to use Drupal's ip_address() in stead of $_SERVER['REMOTE_ADDR']

CommentFileSizeAuthor
#1 1270058.patch772 bytesjelle_s

Comments

jelle_s’s picture

StatusFileSize
new772 bytes

Fix is in the attached patch

jelle_s’s picture

Title: User drupal's ip_address() in stead of $_SERVER['REMOTE_ADDR'] » Use drupal's ip_address() in stead of $_SERVER['REMOTE_ADDR']
cyberwolf’s picture

Subscribing.

attiks’s picture

Status: Active » Needs review
toddy’s picture

Assigned: Unassigned » toddy
Status: Needs review » Fixed

This is fixed now and will be part of the next release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Updated issue summary.