[jboss-jira] [JBoss JIRA] Commented: (JBAS-6735) JMX console: Escape HTML characters of invocation output
Ondrej Žižka (JIRA)
jira-events at lists.jboss.org
Fri Apr 3 13:34:22 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12460531#action_12460531 ]
Ondrej Žižka commented on JBAS-6735:
------------------------------------
Seem's like this is intentional, as some methods return HTML code, e.g. those in jboss.system:ServerInfo.
However, assuming the string is a HTML and treating it so seems unsystematic to me.
What about some ~AsHtml suffix which would hint JMX console that the method returns HTML?
> JMX console: Escape HTML characters of invocation output
> --------------------------------------------------------
>
> Key: JBAS-6735
> URL: https://jira.jboss.org/jira/browse/JBAS-6735
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JMX/Web Console
> Affects Versions: JBossAS-5.1.0.CR1
> Reporter: Ondrej Žižka
> Assignee: Darran Lofthouse
>
> For an example, open JMX web console, go to the jboss:service=JNDIView MBean, and invoke its listXML() - which returns:
> <context>
> <name>java:comp</name>
> <attribute name="bean">jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3</attribute>
> ...
> However, JMX console doesn't escape HTML chars, so what you really see is:
>
> java:comp
> jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
> ...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list