On Tue, Aug 14, 2012 at 12:18:39PM +0200, Johannes Renner wrote:
> Hello,
> 
> we found out that script contents are not properly displayed in the web UI
> in "Systems" -> "Events" -> "History" (it's a perl page ...).
> 
> To reproduce:
> 
> - choose a system and go to "Remote Command"
> - type in some script contents, e.g. "a b c d e f g h"
> - schedule the command
> - go to "Events" and click on the one just scheduled
> - in the "Details" you will see (for the example above):
> 
> x23212f62696e2f73680a0a61206220632064206520662020672068
> 
> which is the ASCII code for
> 
> "
> #!/bin/sh
> a b c d e f g h
> "
> 
> The attached patch fixes the problem by converting the ASCII codes into
> a string using the pack() function.

What Spacewalk version and what database is this exactly?

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to