Page MenuHomePhabricator

PHP 5.3.0 Depricated Line in SpecialUpload.php
Closed, ResolvedPublic

Description

Author: gparnell

Description:
In SpecialUpload.php, on Line 1501 is the line: if (eregi("<!DOCTYPE *X?HTML",$chunk)) return true;
can be replaced with the line : if (preg_match("/<!DOCTYPE *X?HTML/i",$chunk)) return true; to do the same function but without the PHP deprecation error.


Version: 1.15.x
Severity: trivial

Details

Reference
bz20430

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:48 PM
bzimport set Reference to bz20430.
bzimport added a subscriber: Unknown Object (MLST).

This was already fixed in r53658.