Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2005:
[Freeciv-Dev] (PR#12307) '<' and '>' must be disallowed in names
Home

[Freeciv-Dev] (PR#12307) '<' and '>' must be disallowed in names

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#12307) '<' and '>' must be disallowed in names
From: "Mike Kaufman" <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 20 Feb 2005 09:21:57 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12307 >

per brought this to my attention.

-mike

? gamelog
? gamelog.short
Index: utility/shared.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/utility/shared.c,v
retrieving revision 1.118.2.3
diff -u -r1.118.2.3 shared.c
--- utility/shared.c    1 Jan 2005 16:38:21 -0000       1.118.2.3
+++ utility/shared.c    20 Feb 2005 17:21:02 -0000
@@ -372,7 +372,7 @@
 ***************************************************************/
 bool is_ascii_name(const char *name)
 {
-  const char illegal_chars[] = {'|', '%', '"', ',', '*', '\0'};
+  const char illegal_chars[] = {'|', '%', '"', ',', '*', '<', '>', '\0'};
   int i, j;
 
   /* must not be NULL or empty */

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#12307) '<' and '>' must be disallowed in names, Mike Kaufman <=