Mike,

 

In version 6 and above, you need to add a validation block for each 
substitution variable. 

 

https://mapserver.org/mapfile/validation.html

 

Mike

 

 

-- 

Michael Smith

Remote Sensing/GIS Center

US Army Corps of Engineers

 

 

From: mapserver-users <[email protected]> on behalf of 
"Elstermann, Mike" <[email protected]>
Date: Friday, September 7, 2018 at 10:16 AM
To: "'[email protected]'" <[email protected]>
Subject: [mapserver-users] MapServer 6.4 URL-Problem (Variable-Substitution)

 

My problem in URLs with Variable-Substitution:

 
http://myserver?...&druckvorschauclass='[bez]'='A1' OR '[bez]'='1:500'&… à 
correct Output (Map-Picture)
http://myserver?...&druckvorschauclass=%27%5Bbez%5D%27%3D%27A1%27%20OR%20%27%5Bbez%5D%27%3D%271%3A500%27&…
 à incorrect Output (NO Map-Picture)
Error-Message: msValidateParameter(): Regular expression error. Parameter 
pattern validation failed.
 

In my MapFile:

CLASS

…

EXPRESSION (%druckvorschauclass%)

                …

                END

 

Using MapServer 6.4 (in 5.x it was OK)

 

Any ideas?

 

THX!

mikeE.

 

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

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

Reply via email to