Page MenuHomePhabricator

PHP notice on [[Special:Log]] with bad input + error_reporting(E_ALL)
Closed, ResolvedPublic

Description

Author: nickpj

Description:
PHP notice from GlobalFunctions.php on [[Special:Log]] with bad input +
error_reporting(E_ALL).

CURL command line is this: (note that the newline is important)

curl --silent --include -F 'from'='808080

' '192.168.0.64/wiki/index.php/Special:Log' | head -20

HTML output is:

HTTP/1.1 100 Continue

HTTP/1.1 200 OK
Date: Thu, 06 Jul 2006 10:16:33 GMT
Server: Apache
Content-language: en
Vary: Accept-Encoding,User-Agent
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: private, must-revalidate, max-age=0
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8

<br />
<b>Notice</b>: A non well formed numeric value encountered in
<b>/var/www/hosts/mediawiki/phase3/includes/GlobalFunctions.php</b> on line
<b>1343</b><br />
<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">

<head>
        <meta http-equiv="Content-Type" content="text/html;

charset=utf-8" />

<meta name="robots" content="noindex,nofollow" />

<meta name="keywords" content="Special:Log" />


Version: 1.7.x
Severity: minor

Details

Reference
bz6566

Event Timeline

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