[mapserver-users] A suggestion to improve error messages:

Ian Turton ijturton at gmail.com
Tue Jul 16 08:21:50 PDT 2019


On Tue, 16 Jul 2019 at 16:03, David McKelvie <dmck at interactive.co.uk> wrote:

>
> A suggestion to improve error messages:
>
> Trying to get a maptile I got the error page
>
> msCGILoadMap(): Web application error. Parameter 'map' value fails to
> validate.
>
> It would be really helpful if this could have said
>
> msCGILoadMap(): Web application error. Parameter 'map' value
> '/var/opt/mapserver/mymap.map' fails to match the MS_MAP_PATTERN value
> '/home/data'.
>
>
That would leak potentially "secret" information that I might not want
"hackers" to see. But if it went into the log file that would be helpful.

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20190716/cd674650/attachment.html>


More information about the mapserver-users mailing list