Page MenuHomePhabricator

Prevent recursive loading of resources (causes endless requests, browser crashes etc.)
Closed, ResolvedPublic

Description

Author: accnospamtom

Description:
Resource Loader should keep track of resources it already has loaded to prevent endless server requests, browser crashes, freezing sites etc.

Simple example:

[http://kamelopedia.mormo.org/index.php?title=Kamel:Nachteule/vector.js&oldid=442686]

The page ("Kamel:Nachteule/vector.js") imports itself using mw.load

Result: endless server reqests, page loading doesn't stop, browser crashes and/or browser becomes unresponsive ...

Sure, this example ist stupid, but on complex sites, recursive loading of things could happen.

In general it would be better if resource loader is aware of resources it aleady has loaded, so when the same resource is referenced more than once (through transclusion or other circumstances it will be ignored).

Sorry for my poor english ;)


Version: unspecified
Severity: normal

Details

Reference
bz29001

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 11:33 PM
bzimport set Reference to bz29001.

This bug only exists for loading URLs. For modules, this is being done already.

  • This bug has been marked as a duplicate of bug 26814 ***