[Mapserver-users] Max image size
Daniel Morissette
morissette@dmsolutions.ca
Tue, 23 Sep 2003 14:29:46 -0400
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@dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users