[Spacewalk-list] Spacewalk 2.1 - characters in remote commands

Pierre Casenove pcasenove at gmail.com
Thu May 15 19:39:07 UTC 2014


Hello list,
I found the issue, that is in struts-config.xml as well.
Dev team: I'm sorry but I don't know how to use the pull request... so here
is a classical diff -u... sorry!
tu-spa-d15 spacewalk $ diff -u ./java/code/webapp/WEB-INF/struts-config.xml
/var/lib/tomcat6/webapps/rhn/WEB-INF/struts-config.xml
--- ./java/code/webapp/WEB-INF/struts-config.xml        2014-02-27
12:09:49.152258319 +0000
+++ /var/lib/tomcat6/webapps/rhn/WEB-INF/struts-config.xml      2014-05-15
19:30:56.087603284 +0000
@@ -8324,6 +8312,7 @@

     <!-- Provisioning group -->
     <action path="/systems/ssm/provisioning/RemoteCommand"
+            scope="request"
             name="remoteCommandForm"

 type="com.redhat.rhn.frontend.action.ssm.ProvisioningRemoteCommand"
             className="com.redhat.rhn.frontend.struts.RhnActionMapping">


To be clear: I just added scope="request" !

Pierre


2014-05-15 20:19 GMT+02:00 Pierre Casenove <pcasenove at gmail.com>:

> Hi
> I did not get the time to properly investigate but right now i did not
> find any clue.
>
> Pierre
> Le 15 mai 2014 20:17, "Jeremy Darr" <jeremy.darr at gmail.com> a écrit :
>
>> Sorry, previous thread was here:
>>
>> http://www.redhat.com/archives/spacewalk-list/2014-April/msg00115.html
>>
>> Some further background:
>>
>> Adding
>>
>> <form-property name="no_scrub" type="java.lang.String"
>> initial="script_body" />
>>
>> to the file /var/lib/tomcat[56]/webapps/rhn/WEB-INF/struts-config.xml
>> fixes characters being scrubbed out of remote commands for an individual
>> server, but not for multiple servers being issued commands via SSM (but not
>> via the XMLRPC interface). I'm hoping that someone has also fixed the
>> issues with SSM.
>>
>> Thanks!
>>
>> - Jeremy
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20140515/b54a3f70/attachment.htm>


More information about the Spacewalk-list mailing list