Re: A suggestion to improve error messages:

Ian Turton <[email protected]> Tue, 16 Jul 2019 16:21:50 +0100
Newsgroups gmane.comp.gis.mapserver.user
Message-ID <CA+=cGJ=HT3UkqjKde0Bytpw4Xa6N4WRf_pcOwUw+j9wqswfufw@mail.gmail.com>
On Tue, 16 Jul 2019 at 16:03, David McKelvie <[email protected]> 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

_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users