You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2004/06/12 03:21:24 UTC
cvs commit: maven/xdocs changes.xml
brett 2004/06/11 18:21:24
Modified: src/java/org/apache/maven/util Tag: MAVEN-1_0-BRANCH
HttpUtils.java
xdocs Tag: MAVEN-1_0-BRANCH changes.xml
Log:
PR: MAVEN-1273
Submitted by: Andreas Peschka
Reviewed by: Brett Porter
fix HTTP BASIC authentication
Revision Changes Path
No revision
No revision
1.28.4.9 +1 -1 maven/src/java/org/apache/maven/util/HttpUtils.java
Index: HttpUtils.java
===================================================================
RCS file: /home/cvs/maven/src/java/org/apache/maven/util/HttpUtils.java,v
retrieving revision 1.28.4.8
retrieving revision 1.28.4.9
diff -u -r1.28.4.8 -r1.28.4.9
--- HttpUtils.java 7 Jun 2004 12:02:34 -0000 1.28.4.8
+++ HttpUtils.java 12 Jun 2004 01:21:24 -0000 1.28.4.9
@@ -244,7 +244,7 @@
if ( username != null || password != null )
{
String up = username + ":" + password;
- String encoding = Base64.encode(up.getBytes(), true);
+ String encoding = Base64.encode(up.getBytes(), false);
connection.setRequestProperty( "Authorization", "Basic " + encoding );
}
No revision
No revision
1.14.4.22 +3 -0 maven/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/maven/xdocs/changes.xml,v
retrieving revision 1.14.4.21
retrieving revision 1.14.4.22
diff -u -r1.14.4.21 -r1.14.4.22
--- changes.xml 29 May 2004 04:48:26 -0000 1.14.4.21
+++ changes.xml 12 Jun 2004 01:21:24 -0000 1.14.4.22
@@ -25,6 +25,9 @@
</properties>
<body>
<release version="1.0-final-SNAPSHOT" date="in CVS">
+ <action dev="brett" type="fix" issue="MAVEN-1273" due-to="Andreas Peschka">
+ Fix HTTP BASIC authentication for remote repos.
+ </action>
<action dev="dion" type="fix" issue="MAVEN-1298">
Repository element was broken for non-cvs connections
</action>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org