Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#7288 closed defect (bug) (fixed)

php bug in parse_url

Reported by: azaozz Owned by:
Milestone: 2.6 Priority: normal
Severity: normal Version: 2.6
Component: General Keywords: has-patch
Focuses: Cc:


There's a bug in parse_url() in php 5.2.4 and 5.2.6 (current). It cannot parse URLs that have "http://" in the query string. It issues a warning and may cause Apache to coredump: http://bugs.php.net/bug.php?id=38143

Affected by this is wp_safe_redirect() when using Press This, maybe other places too.

Attachments (1)

parse_url.patch (700 bytes) - added by azaozz 10 years ago.

Download all attachments as: .zip

Change History (2)

10 years ago

#1 @ryan
10 years ago

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

(In [8324]) Workaround PHP parse_url() bug. Props azaozz. fixes #7288

Note: See TracTickets for help on using tickets.