pari: trunk r285 - /trunk/config/sysinfo.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Mon Jan 22 16:09:55 MST 2007


Author: pari
Date: Mon Jan 22 17:09:54 2007
New Revision: 285

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=285
Log:
fix for 0008879: System info / log doesn't filter out extraneous characters that may affect HTML formatting

Modified:
    trunk/config/sysinfo.html

Modified: trunk/config/sysinfo.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/sysinfo.html?view=diff&rev=285&r1=284&r2=285
==============================================================================
--- trunk/config/sysinfo.html (original)
+++ trunk/config/sysinfo.html Mon Jan 22 17:09:54 2007
@@ -54,7 +54,7 @@
 				if(originalRequest.responseText.length==0){
 					$('todaylog').innerHTML = "No log messages found on this Day" ;
 				}else{
-					$('todaylog').innerHTML = originalRequest.responseText;
+					$('todaylog').innerHTML = originalRequest.responseText.escapeHTML() ;
 				}
 			},
 			onFailure: function(t) {



More information about the asterisk-gui-commits mailing list