[mapserver-dev] URL Substitution in Trunk

Thomas Bonfort thomas.bonfort at camptocamp.com
Mon Sep 28 13:58:28 EDT 2009


thanks Jim for the report, I'll have a go at it.

--
thomas



On Fri, Sep 25, 2009 at 21:52, Jim Klassen <Jim.Klassen at ci.stpaul.mn.us> wrote:
> I'm noticing in that the URL variable substitution doesn't seem to be working in trunk (r9350).
>
> For example: ...mapserv?....someparam=something
>
> What I am seeing is on mapserv.c:255, msLayerSubstituteString(layer, key, mapserv->request->ParamValues[i]) is called to replace instances of %someparam% in the mapfile with something. What is occurring is key = "someparam_validation_pattern" and not %someparam%. I also noticed that tmpstr contains "%someparam%".
>
> I replaced key with tmpstr and it is now working the same as 5.2.0.
>
> What I am unsure of is if this is change was intended or not.
>
> My guess is this is related to ticket #3108, r9279.
>
> Jim K
>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>


More information about the mapserver-dev mailing list