noel 2003/02/16 16:45:22
Modified: src/java/org/apache/james/nntpserver Tag: branch_2_1_fcs
NNTPHandler.java
Log:
Corrected error with case sensitivity
Revision Changes Path
No revision
No revision
1.25.4.6 +3 -0
jakarta-james/src/java/org/apache/james/nntpserver/NNTPHandler.java
Index: NNTPHandler.java
===================================================================
RCS file:
/home/cvs/jakarta-james/src/java/org/apache/james/nntpserver/NNTPHandler.java,v
retrieving revision 1.25.4.5
retrieving revision 1.25.4.6
diff -u -r1.25.4.5 -r1.25.4.6
--- NNTPHandler.java 2 Feb 2003 01:07:35 -0000 1.25.4.5
+++ NNTPHandler.java 17 Feb 2003 00:45:22 -0000 1.25.4.6
@@ -557,6 +557,9 @@
writeLoggedFlushedResponse("501 Syntax error");
return;
}
+
+ command = command.toUpperCase(Locale.US);
+
if ( command.equals(AUTHINFO_PARAM_USER) ) {
// Reject re-authentication
if ( isAlreadyAuthenticated ) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]