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

 Auth enabled server had died because of nasty SQL. Will commit
attached fix immediately.


 - ML

diff -Nurd -X.diff_ignore freeciv/utility/shared.c freeciv/utility/shared.c
--- freeciv/utility/shared.c	2008-01-15 04:04:10.000000000 +0200
+++ freeciv/utility/shared.c	2008-01-15 04:53:11.000000000 +0200
@@ -420,7 +420,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 */
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to