[mapserver-users] MapServer 6.4 URL-Problem (Variable-Substitution)

Jörg Thomsen (WhereGroup) joerg.thomsen at wheregroup.com
Fri Sep 7 07:20:54 PDT 2018


Hallo Mike,

kein Validation-Block? falscher Ausdruck im Validation-Block? Falsche
Stelle?

> As of MapServer 5.4.0 the preferred mechanism is a VALIDATION block in the LAYER definition. This is only slightly different from the older METADATA mechanism. VALIDATION blocks can be used with CLASS, LAYER and WEB.



Gruß, Jörg

Am 07.09.2018 um 15:59 schrieb Elstermann, Mike:
> My problem in URLs with Variable-Substitution:
> 
>  
> 
> 1.       http://myserver?...&druckvorschauclass='[bez]'='A1' OR
> '[bez]'='1:500'&… à correct Output (Map-Picture)
> 
> 2.      
> 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
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
> 



Viele Grüße,
Jörg Thomsen

-- 

******************************************************************
 FOSS Academy Sommerschule 2018
 Alles Wichtige zur Erstellung einer GDI in nur 5 Tagen erlernen!
 https://www.foss-academy.com/kompaktkurse
 *****************************************************************


Jörg Thomsen
WhereGroup GmbH & Co. KG
Gillweg 3
14193 Berlin
Germany

Fon: +49 (0)30 / 5130 278 74
Fax: +49 (0)30 / 89 09 53 21

joerg.thomsen at wheregroup.com
www.wheregroup.com
Amtsgericht Bonn, HRA 6788
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
-------------------------------
Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com


More information about the mapserver-users mailing list