Last modified: 2011-08-22 21:05:27 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 T32510, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30510 - Impossible titles cause exception in TitleBlacklist
Impossible titles cause exception in TitleBlacklist
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
TitleBlacklist (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Ian Baker
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-22 17:40 UTC by Neil Kandalgaonkar
Modified: 2011-08-22 21:05 UTC (History)
2 users (show)

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


Attachments

Description Neil Kandalgaonkar 2011-08-22 17:40:06 UTC
An API call like this returns results:

api.php?action=titleblacklist&format=json&tbaction=create&tbtitle=File%3ADSC123456.jpg


But this throws an exception (note the inserted %09 character).

api.php?action=titleblacklist&format=json&tbaction=create&tbtitle=File%3A%09DSC123456.jpg

Fatal error: Call to a member function getFullText() on a non-object in /Users/neilk/Sites/trunk/extensions/TitleBlacklist/TitleBlacklist.list.php on line 326
Comment 1 Roan Kattouw 2011-08-22 21:05:27 UTC
Fixed in r95248.

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


Navigation
Links