[Mapbender-commits] r1881 - trunk/mapbender/http/extensions
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Dec 3 03:59:12 EST 2007
Author: christoph
Date: 2007-12-03 03:59:11 -0500 (Mon, 03 Dec 2007)
New Revision: 1881
Modified:
trunk/mapbender/http/extensions/geom2wfst.php
Log:
removed endlines
Modified: trunk/mapbender/http/extensions/geom2wfst.php
===================================================================
--- trunk/mapbender/http/extensions/geom2wfst.php 2007-11-30 16:36:49 UTC (rev 1880)
+++ trunk/mapbender/http/extensions/geom2wfst.php 2007-12-03 08:59:11 UTC (rev 1881)
@@ -150,7 +150,7 @@
}
else {
$response = "error";
- echo "\"error message\":\"".addslashes($data)."\",";
+ echo "\"error message\":\"".preg_replace("/\"/", "'", preg_replace("/\n/", "", preg_replace("/\r/", "", $data)))."\",";
}
echo "\"response\":\"".$response."\"}";
$notice = new mb_notice("response:".$response);
More information about the Mapbender_commits
mailing list