[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/http ...
Ron Sigal
ron_sigal at yahoo.com
Wed Aug 15 02:26:34 EDT 2007
User: rsigal
Date: 07/08/15 02:26:34
Modified: src/main/org/jboss/remoting/transport/http Tag:
remoting_2_x HTTPClientInvoker.java
Log:
JBREM-791: In getBasicAuth(), added Base64.DONT_BREAKE_LINES as second argument to Base64.encodeBytes().
Revision Changes Path
No revision
No revision
1.31.2.7 +1 -1 JBossRemoting/src/main/org/jboss/remoting/transport/http/HTTPClientInvoker.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: HTTPClientInvoker.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/http/HTTPClientInvoker.java,v
retrieving revision 1.31.2.6
retrieving revision 1.31.2.7
diff -u -b -r1.31.2.6 -r1.31.2.7
--- HTTPClientInvoker.java 19 Jun 2007 18:38:17 -0000 1.31.2.6
+++ HTTPClientInvoker.java 15 Aug 2007 06:26:34 -0000 1.31.2.7
@@ -756,7 +756,7 @@
buffer.append(":");
buffer.append(password);
- String encoded = Base64.encodeBytes(buffer.toString().getBytes());
+ String encoded = Base64.encodeBytes(buffer.toString().getBytes(), Base64.DONT_BREAK_LINES);
authString = "Basic " + encoded;
More information about the jboss-cvs-commits
mailing list