From 6f5f68b58f0de6893205459b28ef43ba6f1bbc0c Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Tue, 2 Jul 2002 19:48:38 +0000 Subject: [PATCH] htpasswd needs to add a newline at the end of each record. PR: 10422 Submitted by: Thom May [thom@planetarytramp.net] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95939 13f79535-47bb-0310-9956-ffa450edef68 --- support/htpasswd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/support/htpasswd.c b/support/htpasswd.c index f760d6631a..ae7d76a05e 100644 --- a/support/htpasswd.c +++ b/support/htpasswd.c @@ -236,6 +236,7 @@ static int mkrecord(char *user, char *record, size_t rlen, char *passwd, strcpy(record, user); strcat(record, ":"); strcat(record, cpw); + strcat(record, "\n"); return 0; } -- 2.50.1