[Mapbender-commits] r3584 - branches/2.5/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Feb 24 06:34:43 EST 2009
Author: christoph
Date: 2009-02-24 06:34:43 -0500 (Tue, 24 Feb 2009)
New Revision: 3584
Modified:
branches/2.5/http/php/mod_gazetteerMetadata_search.php
Log:
http://trac.osgeo.org/mapbender/ticket/387#preview
Modified: branches/2.5/http/php/mod_gazetteerMetadata_search.php
===================================================================
--- branches/2.5/http/php/mod_gazetteerMetadata_search.php 2009-02-24 11:33:12 UTC (rev 3583)
+++ branches/2.5/http/php/mod_gazetteerMetadata_search.php 2009-02-24 11:34:43 UTC (rev 3584)
@@ -10,11 +10,11 @@
$srs = stripslashes($_REQUEST["srs"]);
if (!preg_match("/^[a-zA-Z_\- ]+$/", $query)) {
- echo "['invalid query string']"; die;
+ echo "[]"; die;
}
if (!preg_match("/^[a-zA-Z_\-:0-9 ]+$/", $srs)) {
- echo "['invalid srs']"; die;
+ echo "[]"; die;
}
$n = new administration();
More information about the Mapbender_commits
mailing list