ben 96/06/23 11:05:18
Modified: src http_protocol.c
Log:
Submitted by: [EMAIL PROTECTED]
Reviewed by: Roy Fielding, Ben Laurie
Leading colons were stripped from passwords in Basic authentication. Fixed.
Revision Changes Path
1.27 +1 -1 apache/src/http_protocol.c
Index: http_protocol.c
===================================================================
RCS file: /export/home/cvs/apache/src/http_protocol.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -C3 -r1.26 -r1.27
*** http_protocol.c 1996/06/17 20:55:25 1.26
--- http_protocol.c 1996/06/23 18:05:16 1.27
***************
*** 582,588 ****
}
t = uudecode (r->pool, auth_line);
! r->connection->user = getword (r->pool, &t, ':');
r->connection->auth_type = "Basic";
*pw = t;
--- 582,588 ----
}
t = uudecode (r->pool, auth_line);
! r->connection->user = getword_nulls (r->pool, &t, ':');
r->connection->auth_type = "Basic";
*pw = t;