james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny Angus" <da...@thought.co.uk>
Subject RE: current version of James?
Date Wed, 09 Jan 2002 20:47:06 GMT
Its probably our old friend windows line endings v unix ones ..
there was an issue with v1 in this respect but I understood it had been
sorted, I know win2k telnet & telnet from linux and most emulators are OK
and that NT telnet wasn't I'm not sure about anything else.
I expect we may simply need to trim the input, could you try applying this
patch to your file and run your test again?

cvs -z9 diff -u RemoteManagerHandler.java
Index: RemoteManagerHandler.java
===================================================================
RCS file:
/home/cvs/jakarta-james/src/java/org/apache/james/remotemanager/RemoteManage
rHandler.java,v
retrieving revision 1.6
diff -u -r1.6 RemoteManagerHandler.java
--- RemoteManagerHandler.java	30 Nov 2001 11:20:16 -0000	1.6
+++ RemoteManagerHandler.java	9 Jan 2002 20:38:00 -0000
@@ -130,9 +130,9 @@
                     getLogger().info( message );
                 }
                 out.println("Login id:");
-                login = in.readLine();
+                login = in.readLine().trim();
                 out.println("Password:");
-                password = in.readLine();
+                password = in.readLine().trim();
             } while (!password.equals(admaccount.get(login)) ||
password.length() == 0);

             scheduler.resetTrigger(this.toString());

d.


--
To unsubscribe, e-mail:   <mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>


Mime
View raw message