From afe254b5ce0966f687c1fcff2f4ec7f6d2fbb801 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 24 Jun 2010 18:29:50 +0000 Subject: [PATCH] -Bad XML data can still come down, UTF-8 doesn't protect everything git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6602 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index ec7c92cea..e40d29d67 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -1266,8 +1266,8 @@ sub convey_response { } $resp = XMLout($resp,KeyAttr=>[], NoAttr=>1,RootName=>'xcatresponse'); #sanitize the response, to avoid being killed by non-printable bytes - #$resp =~ tr/\011-\177/?/c; - #seeing if using utf-8 offloads potential issues to client terminal + $resp =~ tr/\011-\177/?/c; + #seeing if using utf-8 offloads potential issues to client terminal, it didn't print $parent_fd $resp; yield; #parent must get timeslice anyway before an ack could possibly return my $parsel = new IO::Select;