|
From: <rm...@hy...> - 2007-03-21 00:27:07
|
Author: rmorgan Date: 2007-03-20 16:27:05 -0800 (Tue, 20 Mar 2007) New Revision: 3801 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3801 Modified: branches/HQ_3_0/src/org/hyperic/hq/product/servlet/webapp/JMXServlet.java Log: Ignore attributes with '.' in the name. The dots cause the Manifest parser to fail. [HHQ-757] [merge from trunk] Submitted By: nickbr (http://forums.hyperic.com/jiveforums/thread.jspa?threadID=1635&tstart=0) Modified: branches/HQ_3_0/src/org/hyperic/hq/product/servlet/webapp/JMXServlet.java =================================================================== --- branches/HQ_3_0/src/org/hyperic/hq/product/servlet/webapp/JMXServlet.java 2007-03-21 00:24:29 UTC (rev 3800) +++ branches/HQ_3_0/src/org/hyperic/hq/product/servlet/webapp/JMXServlet.java 2007-03-21 00:27:05 UTC (rev 3801) @@ -346,6 +346,7 @@ Object o = mServer.getAttribute(oname, attName); if(attName.indexOf( "=") >=0 || attName.indexOf( ":") >=0 || + attName.indexOf(".") >= 0 || attName.indexOf( " ") >=0 ) { continue; } |