Ticket #7288 (closed defect (bug): fixed)

Opened 6 months ago

Last modified 6 months ago

php bug in parse_url

Reported by: azaozz Assigned to: anonymous
Priority: normal Milestone: 2.6
Component: General Version: 2.6
Severity: normal Keywords: has-patch
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

parse_url.patch (0.7 kB) - added by azaozz on 07/13/08 04:43:30.

Change History

07/13/08 04:43:30 changed by azaozz

  • attachment parse_url.patch added.

07/13/08 05:16:56 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

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