Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#10112) allow the user "all" to log in to CVS servers
Home

[Freeciv-Dev] (PR#10112) allow the user "all" to log in to CVS servers

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#10112) allow the user "all" to log in to CVS servers
From: "Mike Kaufman" <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 14 Sep 2004 15:43:24 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10112 >

imagine my surprise to see that "all" is ranked pretty high.
I originally wanted this username for other purposes, but I can just use
"*" instead if I want.

-mike

? remove_all.diff
? server/.connecthand.c.swp
Index: server/connecthand.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/connecthand.c,v
retrieving revision 1.26
diff -u -r1.26 connecthand.c
--- server/connecthand.c        12 Sep 2004 21:44:11 -0000      1.26
+++ server/connecthand.c        14 Sep 2004 22:41:10 -0000
@@ -254,7 +254,6 @@
   if (strlen(req->username) == 0
       || my_isdigit(req->username[0])
       || !is_ascii_name(req->username)
-      || mystrcasecmp(req->username, "all") == 0
       || mystrcasecmp(req->username, "none") == 0
       || mystrcasecmp(req->username, ANON_USER_NAME) == 0) {
     my_snprintf(msg, sizeof(msg), _("Invalid username '%s'"), req->username);

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#10112) allow the user "all" to log in to CVS servers, Mike Kaufman <=