node-export-server icon indicating copy to clipboard operation
node-export-server copied to clipboard

Add max size / scaling restrictions

Open dcherman opened this issue 2 months ago • 0 comments

Hi,

It looks like there is no way to restrict the max height/width or scale of incoming requests, so users can send requests that can either exceed max int, or they can potentially send requests large enough to cause servers to go OOM attempting to handle them.

We should add support for maximums for each of those values with the default values being the ones documented on the export server's demo/landing page.

dcherman avatar Oct 14 '25 20:10 dcherman