[Mapbender-commits] r9146 - trunk/mapbender/owsproxy/http

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jan 13 01:13:13 PST 2015


Author: armin11
Date: 2015-01-13 01:13:13 -0800 (Tue, 13 Jan 2015)
New Revision: 9146

Modified:
   trunk/mapbender/owsproxy/http/index.php
Log:
Bugfix: Hide owsproxy secured urls when show error

Modified: trunk/mapbender/owsproxy/http/index.php
===================================================================
--- trunk/mapbender/owsproxy/http/index.php	2015-01-12 10:24:26 UTC (rev 9145)
+++ trunk/mapbender/owsproxy/http/index.php	2015-01-13 09:13:13 UTC (rev 9146)
@@ -858,7 +858,7 @@
                 $n->updateWmsLog(0, "Mb2OWSPROXY - unable to load: " . $url, "text/plain", $log_id);
             }
             header("Content-Type: text/plain");
-            echo "Mb2OWSPROXY - unable to load: " . $url;
+            echo "Mb2OWSPROXY - unable to load external request - for further information please see logfile";
         } else if (count($exception) > 0) {
             if ($log_id != null && is_integer($log_id)) {
                 $n->updateWmsLog(0, $content, $reqParams["exceptions"], $log_id);
@@ -887,7 +887,7 @@
                 $n->updateWmsFiLog("Mb2OWSPROXY - unable to load: " . $url, "text/plain", $log_id);
             }
             header("Content-Type: text/plain");
-            echo "Mb2OWSPROXY - unable to load: " . $url;
+            echo "Mb2OWSPROXY - unable to load external request - for further information please see logfile";
         } else if (count($exception) > 0) {
             if ($log_id != null) {
                 $n->updateWmsFiLog($content, "application/xml", $log_id);



More information about the Mapbender_commits mailing list