Last modified: 2006-09-09 09:35:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T8888, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6888 - PHP error for call to getTimestamp() on bad input to Special:Revisiondelete
PHP error for call to getTimestamp() on bad input to Special:Revisiondelete
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.8.x
All All
: Lowest minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-01 06:54 UTC by Nick Jenkins
Modified: 2006-09-09 09:35 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Patch to fix null object bug (362 bytes, patch)
2006-09-08 22:26 UTC, wclark
Details

Description Nick Jenkins 2006-08-01 06:54:33 UTC
CURL example command:
===================================
curl --silent --include  -F 'target'='Main Page' -F 'oldid[]'='5'
'192.168.0.64/wiki/index.php?title=Special:Revisiondelete'
===================================

Or as URL:
===================================
http://192.168.0.64/wiki/index.php?title=Special:Revisiondelete&target=XYYYZZZZXXX&oldid=5
===================================

HTML output (with E_ALL errors) includes:
===================================
<br />
<b>Fatal error</b>:  Call to a member function getTimestamp() on a non-object in
<b>/var/www/hosts/mediawiki/phase3/includes/SpecialRevisiondelete.php</b> on
line <b>114</b><br />
===================================

Note: could potentially be a dupe of bug 6887 (both this and that have quite
similar input, but a different error message).
Comment 1 wclark 2006-09-08 22:26:04 UTC
Created attachment 2331 [details]
Patch to fix null object bug
Comment 2 Rotem Liss 2006-09-09 09:35:21 UTC
Fixed in r16454.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links