Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#2759 closed defect (bug) (fixed)

Address is not a valid IPv4 or IPv6 address

Reported by: Denis-de-Bernardy Owned by: anonymous
Priority: normal Milestone: 2.1
Component: Administration Version: 2.0.4
Severity: normal Keywords: has-patch
Cc:

Description

when moderating a comment from a cybercoffee, I got the following error:


Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /home/www/blogue-energie-eolienne.org/wp-includes/pluggable-functions.php on line 303

Warning: Cannot modify header information - headers already sent by (output started at /home/www/blogue-energie-eolienne.org/wp-includes/pluggable-functions.php:303) in /home/www/blogue-energie-eolienne.org/wp-admin/moderation.php on line 71

Attachments (1)

silence_gethostbyaddr.diff (1.1 KB) - added by markjaquith 7 years ago.
Patch for /trunk/

Download all attachments as: .zip

Change History (8)

What was the invalid IP address?

What is in your pluggable-functions.php on line 303?

  • Resolution set to worksforme
  • Status changed from new to closed

Without more info I'll have to close this as a worksforme.

If you have additional information, please feel free to reopen this ticket.

Patch for /trunk/

  • Milestone set to 2.1
  • Resolution worksforme deleted
  • Status changed from closed to reopened
  • Version changed from 2.0.2 to 2.0.4

Maybe just silence the gethostbyaddr() calls.

  • Keywords has-patch added

Sounds like a good idea.

comment:6   ryan7 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [4287]) Silence gethostbyaddr(). Props MarkJaquith. fixes #2759

comment:7   ryan7 years ago

(In [4288]) Silence gethostbyaddr(). Props MarkJaquith. fixes #2759

Note: See TracTickets for help on using tickets.