You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2024/02/13 00:34:38 UTC
(commons-net) 01/01: Wrong location for EOL
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch sebbASF-patch-1
in repository https://gitbox.apache.org/repos/asf/commons-net.git
commit 9284b5442d05a11db9cd8e745e67c4e5782d575f
Author: Sebb <se...@users.noreply.github.com>
AuthorDate: Tue Feb 13 00:34:34 2024 +0000
Wrong location for EOL
---
src/main/java/org/apache/commons/net/ftp/FTPHTTPClient.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/net/ftp/FTPHTTPClient.java b/src/main/java/org/apache/commons/net/ftp/FTPHTTPClient.java
index 5dc6bc8d..07f2b335 100644
--- a/src/main/java/org/apache/commons/net/ftp/FTPHTTPClient.java
+++ b/src/main/java/org/apache/commons/net/ftp/FTPHTTPClient.java
@@ -194,8 +194,8 @@ public class FTPHTTPClient extends FTPClient {
final String auth = proxyUserName + ":" + proxyPassword;
final String header = "Proxy-Authorization: Basic " + Base64.getEncoder().encodeToString(auth.getBytes(charset));
output.write(header.getBytes(charset));
+ output.write(CRLF);
}
- output.write(CRLF);
final List<String> response = new ArrayList<>();
final BufferedReader reader = new BufferedReader(new InputStreamReader(input, getCharset()));