[Mapserver-users] Max image size
Daniel Morissette
morissette at dmsolutions.ca
Tue Sep 23 11:29:46 PDT 2003
Frank Warmerdam wrote:
>
> It is my humble opionion that only remote client requests (via URL) should
> be checked against this, not image sizes read from .map files or those
> originating from mapscript requests. If appropriate folks agree, I could
> look into making this change. Ideally we would also have a MAXIMGSIZE
> directive that could be included in .map files so this could be set
> without recompiling mapserver - which is very hard for some folks to do.
>
I agree this would be a welcome change. BTW, if you create a new
MAXIMGSIZE directive then don't forget that the test on MAXIMGSIZE
should be applied to the WMS as well (mapwms.c). Also it should not be
possible to change those maxsize values via the CGI interface. Perhaps
a bug should be created for this to track everything including required
updates to the docs, etc.
Daniel
--
------------------------------------------------------------
Daniel Morissette morissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list