Index: HttpUtil.java =================================================================== --- HttpUtil.java (revision 433350) +++ HttpUtil.java (working copy) @@ -44,7 +44,7 @@ if (pEncoding == null) { pEncoding = XmlRpcStreamConfig.UTF8_ENCODING; } - return new String(Base64.encode(s.getBytes(pEncoding))).trim(); + return new String(Base64.encode(s.getBytes(pEncoding))).replace("\n",""); } /** Returns, whether the HTTP header value pHeaderValue