[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/http ...
Ron Sigal
ron_sigal at yahoo.com
Wed Aug 15 02:12:01 EDT 2007
User: rsigal
Date: 07/08/15 02:12:01
Modified: src/main/org/jboss/remoting/transport/http Tag:
remoting_2_2_0_GA 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.3.4.2 +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.3.4.1
retrieving revision 1.31.2.3.4.2
diff -u -b -r1.31.2.3.4.1 -r1.31.2.3.4.2
--- HTTPClientInvoker.java 9 May 2007 08:36:51 -0000 1.31.2.3.4.1
+++ HTTPClientInvoker.java 15 Aug 2007 06:12:01 -0000 1.31.2.3.4.2
@@ -758,7 +758,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