svn commit: r397 - trunk/mapbender/http/php/mod_editElements.php

uli at osgeo.org uli at osgeo.org
Fri Jun 9 04:01:31 EDT 2006


Author: uli
Date: 2006-06-09 08:01:31+0000
New Revision: 397

Modified:
   trunk/mapbender/http/php/mod_editElements.php

Log:
show gui requires a urlencoded pw

Modified: trunk/mapbender/http/php/mod_editElements.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_editElements.php?view=diff&rev=397&p1=trunk/mapbender/http/php/mod_editElements.php&p2=trunk/mapbender/http/php/mod_editElements.php&r1=396&r2=397
==============================================================================
--- trunk/mapbender/http/php/mod_editElements.php	(original)
+++ trunk/mapbender/http/php/mod_editElements.php	2006-06-09 08:01:31+0000
@@ -241,7 +241,7 @@
 if(isset($myShow) && $myShow == '1'){
    $_SESSION["mb_user_myGui"] = $guiList1;
    echo "<script language='javascript'>";
-   echo "window.open('../frames/login.php?".strip_tags (SID)."&name=".$_SESSION["mb_user_name"]."&password=".$_SESSION["mb_user_password"]."&mb_user_myGui=".$guiList1."','','');";
+   echo "window.open('../frames/login.php?".strip_tags (SID)."&name=".$_SESSION["mb_user_name"]."&password=".urlencode($_SESSION["mb_user_password"])."&mb_user_myGui=".$guiList1."','','');";
    echo "</script>";
 }
 if(isset($all) && $all == '1'){




More information about the Mapbender_commits mailing list