pari: trunk r1045 - /trunk/config/home.html
    asterisk-gui-commits at lists.digium.com 
    asterisk-gui-commits at lists.digium.com
       
    Wed Jun  6 07:49:00 MST 2007
    
    
  
Author: pari
Date: Wed Jun  6 09:48:59 2007
New Revision: 1045
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1045
Log:
Fix for 9870: http://bugs.digium.com/view.php?id=9870
Modified:
    trunk/config/home.html
Modified: trunk/config/home.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/home.html?view=diff&rev=1045&r1=1044&r2=1045
==============================================================================
--- trunk/config/home.html (original)
+++ trunk/config/home.html Wed Jun  6 09:48:59 2007
@@ -131,7 +131,7 @@
 	}
 	parent.document.getElementById('login_name').value = _$('username').value ;
 	_$('statusbar').innerHTML = "<i>Logging in...</i>";
-	parent.astmanEngine.sendRequest('action=login&username=' + _$('username').value + "&secret=" + _$('secret').value, afterlogin);
+	parent.astmanEngine.sendRequest('action=login&username=' + encodeURIComponent( _$('username').value ) + "&secret=" + encodeURIComponent(_$('secret').value), afterlogin);
 }
 
 afterlogin = function(msgs) {
    
    
More information about the asterisk-gui-commits
mailing list