[Spacewalk-list] Custom Info Key CRLF characters

0 views
Skip to first unread message

Josh....@cox.com

unread,
Mar 16, 2012, 11:12:45 PM3/16/12
to spacewa...@redhat.com

Hello,

 

In recent spacewalk versions, I have noticed “CRLF” characters on “custom info key” values that contain multiple lines.

You can see the “^M” characters using vim after downloading a config file with.

 

The older versions did not have this issue.

 

 

Thanks

-Josh

Josh....@cox.com

unread,
Mar 19, 2012, 9:38:54 AM3/19/12
to spacewa...@redhat.com

I applied the patch from Bug 742050 which resolved another issue I was having where special characters (curly brackets, etc..) were getting stripped.

 

However this did not fix the “CRLF” issue.

Would this be resolved in the same files maybe?

 

 

Data changed:

 

/java/code/webapp/WEB-INF/pages/systems/sdc/listcustomdata.jsp

<pre><c:out value="${current.value}" /></pre>

 

 

/java/code/webapp/WEB-INF/struts-config.xml

<form-property name="no_scrub" type="java.lang.String" initial="description"/>

<form-property name="no_scrub" type="java.lang.String" initial="value"/>

 

 

 

 

Thanks

-Josh

Josh....@cox.com

unread,
Mar 20, 2012, 7:19:12 PM3/20/12
to spacewa...@redhat.com

Another note.

This only happens in the web UI.

 

I do not see this when using the API.

Reply all
Reply to author
Forward
0 new messages