pari: branch asterisknow r1840 - /branches/asterisknow/config/feditor.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Wed Nov 28 18:02:56 CST 2007


Author: pari
Date: Wed Nov 28 18:02:56 2007
New Revision: 1840

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1840
Log:
Fix for http://bugs.digium.com/view.php?id=11234

Modified:
    branches/asterisknow/config/feditor.html

Modified: branches/asterisknow/config/feditor.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/feditor.html?view=diff&rev=1840&r1=1839&r2=1840
==============================================================================
--- branches/asterisknow/config/feditor.html (original)
+++ branches/asterisknow/config/feditor.html Wed Nov 28 18:02:56 2007
@@ -281,7 +281,7 @@
 			if(c[d].length == 0){i.innerHTML += "&nbsp;&nbsp;<BR>" ;}
 			for(var r=0; r < c[d].length ; r++ ){
 				p = unescape( c[d][r] );
-				i.innerHTML += "&nbsp;&nbsp;" + p + "<BR>" ;
+				i.innerHTML += "&nbsp;&nbsp;" + p.replace(/</g, '&lt;').replace(/>/g, '&gt;') + "<BR>" ;
 				temp_contextContent += p + "\n";
 				rows++;
 			}




More information about the asterisk-gui-commits mailing list