dinubs / jam-api

Parse web pages using CSS query selectors
http://www.jamapi.xyz
Other
1.37k stars 57 forks source link

Limits and Sanity Checks #6

Open rpdprd opened 8 years ago

rpdprd commented 8 years ago

There should be some sanity checks, especially on the public facing API. Running it with something like http://speedtest.newark.linode.com/100MB-newark.bin (obviously not an HTML file) will easily eat tons of memory and possibly crash it.