[mapserver-dev] URL Substitution in Trunk

Jim Klassen Jim.Klassen at ci.stpaul.mn.us
Fri Sep 25 15:52:00 EDT 2009


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



More information about the mapserver-dev mailing list