[wp-trac] [WordPress Trac] #43109: RegEx in parse_db_host() can cause notices and headers sent too early

WordPress Trac noreply at wordpress.org
Tue Jan 23 02:30:07 UTC 2018


#43109: RegEx in parse_db_host() can cause notices and headers sent too early
--------------------------+--------------------
 Reporter:  gallerycy     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.9.4
Component:  Database      |     Version:  4.9
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+--------------------

Comment (by dingdang):

 PHP=5.3.3 from CentOS 5.11 which means it is not exactly 5.3.3 but
 something like that (with security patches)
 Using 5.4.45 on the same set up the warning disappears.

 Warning: preg_match(): Compilation failed: unrecognized character after
 (?< at offset 4 in .../wp-includes/wp-db.php on line 1657

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43109#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list