Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#4467 closed defect (bug) (fixed)

parse_str buggy in some versions of PHP

Reported by: mdawaffe's profile mdawaffe Owned by:
Milestone: 2.2.1 Priority: normal
Severity: normal Version: 2.2.1
Component: Administration Keywords:
Focuses: 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 (2)

4467.diff (3.3 KB) - added by mdawaffe 17 years ago.
4467b.diff (3.3 KB) - added by mdawaffe 17 years ago.
fix parse error

Download all attachments as: .zip

Change History (6)

@mdawaffe
17 years ago

@mdawaffe
17 years ago

fix parse error

#2 @ryan
17 years ago

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

#3 @ryan
17 years ago

  • Milestone changed from 2.3 (trunk) to 2.2.1

#4 @ryan
17 years ago

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

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

Note: See TracTickets for help on using tickets.