Ticket #4467 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

parse_str buggy in some versions of PHP

Reported by: mdawaffe Assigned to: anonymous
Priority: normal Milestone: 2.2.1
Component: Administration Version: 2.2.1
Severity: normal Keywords:
Cc:

Description

parse_str() double slashes output: http://bugs.php.net/bug.php?id=39763

Though it's supposed to be fixed in CVS, I have reports that it is still broken in PHP 5.2.2 (no word on 5.2.3): #BB558

I propose we create wp_parse_str() and filter it so that bugs for specific versions of PHP can be dealt with by plugin.

Attached: wp_parse_str() use it whenever parse_str() was followed by if ( get_magic_quotes_gpc() ) stripslashes_deep();

Attachments

4467.diff (3.3 kB) - added by mdawaffe on 06/14/07 18:35:44.
4467b.diff (3.3 kB) - added by mdawaffe on 06/14/07 19:38:01.
fix parse error

Change History

06/14/07 18:35:44 changed by mdawaffe

  • attachment 4467.diff added.

06/14/07 19:13:01 changed by ryan

+1

06/14/07 19:38:01 changed by mdawaffe

  • attachment 4467b.diff added.

fix parse error

06/14/07 22:46:59 changed by ryan

(In [5709]) wp_parse_str() from mdawaffe. see #4467

06/15/07 17:35:16 changed by ryan

  • milestone changed from 2.3 (trunk) to 2.2.1.

06/15/07 17:35:56 changed by ryan

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

(In [5713]) wp_parse_str() from mdawaffe. fixes #4467