Last modified: 2014-08-01 15:01:08 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 T70859, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68859 - Evaluating the empty string on [[Special:AbuseFilter/tools]] causes "Exception Caught: Entered infinite loop"
Evaluating the empty string on [[Special:AbuseFilter/tools]] causes "Exceptio...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
AbuseFilter (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-30 15:11 UTC by Helder
Modified: 2014-08-01 15:01 UTC (History)
3 users (show)

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


Attachments

Description Helder 2014-07-30 15:11:03 UTC
If I open
https://pt.wikipedia.org/wiki/Especial:Filtro_de_abusos/tools?debug=1&uselang=en
and press "Evaluate" (without typing anything in the box) it shows the error message "An unknown error occurred."

On JavaScript console, if I stop the JS on
https://github.com/wikimedia/mediawiki-extensions-AbuseFilter/blob/87094b9c0a234713391efd9b8e15404e2623b3a4/modules/ext.abuseFilter.tools.js#L29
and type JSON.stringify( arguments ) I get this:

"{"0":"internal_api_error_AFPException","1":{"servedby":"mw1148","error":{"code":"internal_api_error_AFPException","info":"Exception Caught: Entered infinite loop. Offset 0 of ","*":""}}}"

I don't think an infinite loop should be happening in this case.

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


Navigation
Links