WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 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:

Description

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 6 years ago.

Download all attachments as: .zip

Change History (2)

azaozz6 years ago

comment:1 ryan6 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.