Page MenuHomePhabricator

PHP undefined index notice on trackback.php on bad input + E_ALL
Closed, ResolvedPublic

Description

Author: nickpj

Description:

CURL command:

curl --silent --include \
-F 'url'='title'\
-F 'blog_name'='80'\
-F 'article'='Main Page'\
-F 'title'='Main Page'\

'localhost/wiki/trackback.php'

LocalSettings.php includes this:

$wgUseTrackbacks = true;

error_reporting (E_ALL);

(i.e. stricter error reporting, and trackbacks usage enabled).

HTML output contains:

<br />
<b>Notice</b>: Undefined index: excerpt in

<b>/var/www/hosts/mediawiki/phase3/trackback.php</b> on line <b>47</b><br />


Version: 1.8.x
Severity: minor

Details

Reference
bz6891

Event Timeline

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

kaikkd wrote:

*** This bug has been marked as a duplicate of 6892 ***