https://bugzilla.wikimedia.org/show_bug.cgi?id=68859

            Bug ID: 68859
           Summary: Evaluating the empty string on
                    [[Special:AbuseFilter/tools]] causes "Exception
                    Caught: Entered infinite loop"
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: AbuseFilter
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to