[mapserver-users] Loadquery in MAPSERVER 5.6.1

Daniel Morissette dmorissette at mapgears.com
Sat Mar 27 09:58:43 EDT 2010


MapServer 5.4 introduced a new test to require that query files use the 
".qy" extension, for security reasons.

Try changing your code to use the .qy query file extension.

Daniel

Alexandre Trindade wrote:
> Hi,
> 
>  After upgrade the MS4W 2.3.1 ( Mapserver 5.2.1 ) to  MS4W 3.0 ( 
> MAPSERVER 5.6.1 ) my aplication stop to run when try use the function 
> LOADQUERY. Not have message error, but the map not render image with 
> selection. I'm note that file (bin) generated by SAVEQUERY ( MS4W 2.3.1 
> )  is diferent to the file(txt) generated in  MS4W 3.0. I searched for 
> modifications in this functions, but i'm not found.
> 
> 
> 
> The same aplication generated this two files with function savequery
> 
> run in MS4W 2.3.1 ( Mapserver 5.2.1 )
> 
> test.mapqy
> 
>          $X ÎüêJÀçm¡ ×Y=À ­4 Ý-HÀK !9™ô9À    ÿÿÿÿ  
> 
> 
> and
> 
> run in MS4W 3.0 ( MAPSERVER 5.6.1 )
> 
> test.mapqy
> 
> MapServer Query - Generated by msSaveQuery()
> 0 5 6 -1
> -1 -1 0 0
> -1 -1 -1 -1
> 23 -1 0
> NULL
> NULL
> -1
> 0
> 
> 
> any suggenstions ?
> 
> 
> -- 
> Alexandre Trindade
> 
> Programador PHP
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


-- 
Daniel Morissette
http://www.mapgears.com/


More information about the mapserver-users mailing list