[jboss-jira] [JBoss JIRA] Commented: (JBAS-6735) JMX console: Escape HTML characters of invocation output

Ondrej Medek (JIRA) jira-events at lists.jboss.org
Thu May 14 06:34:46 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBAS-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12467493#action_12467493 ] 

Ondrej Medek commented on JBAS-6735:
------------------------------------

Maybe a return type HTML might be a better solution. I mean to make some class called HTML. When the methods outputs this class, then it is shown as HTML, otherwise as String.

> 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