pari: trunk r947 - /trunk/config/scripts/astman.js
asterisk-gui-commits at lists.digium.com
asterisk-gui-commits at lists.digium.com
Wed May 16 13:42:27 MST 2007
Author: pari
Date: Wed May 16 15:42:26 2007
New Revision: 947
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=947
Log:
critical bug in astman.js
Modified:
trunk/config/scripts/astman.js
Modified: trunk/config/scripts/astman.js
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/scripts/astman.js?view=diff&rev=947&r1=946&r2=947
==============================================================================
--- trunk/config/scripts/astman.js (original)
+++ trunk/config/scripts/astman.js Wed May 16 15:42:26 2007
@@ -1201,7 +1201,7 @@
msgs[msgnum].names = new Array();
y=0;
}
- msgs[msgnum].headers[fields[0].toLowerCase()] = fields[1];
+ msgs[msgnum].headers[fields[0].toLowerCase()] = allheaders[x].substr(fields[0].length +2);
msgs[msgnum].names[y++] = fields[0].toLowerCase();
if (me.debug)
me.debug.value = me.debug.value + "field " + fields[0] + "/" + fields[1] + "\n";
More information about the asterisk-gui-commits
mailing list