actsync problem in bad_grpname
Luc Lepine
lalepine at uottawa.ca
Mon May 10 18:52:54 UTC 2004
It seems like actsync doesn't accept the characters '+' '-' and '_' after a
period
in a group name. This seems to fix that:
diff -urN inn-2.4.1/backends/actsync.c inn-2.4.1.new/backends/actsync.c
--- inn-2.4.1/backends/actsync.c 2004-01-07 17:47:19.000000000 -0500
+++ inn-2.4.1.new/backends/actsync.c 2004-05-09 23:18:51.000000000 -0400
@@ -1189,7 +1189,7 @@
* last '.', or before the beginning if no previous '.'
* has been seen.
*/
- if ((!num_chk || non_num) && isascii(*(p+1)) &&
isalnum((int)*(p+1))) {
+ if ((!num_chk || non_num) && isascii(*(p+1)) &&
(isalnum((int)*(p+1))||*(p+1)=='+'||*(p+1)=='-'||*(p+1)=='_')) {
++p; /* '.' is ok, and so is the next char */
if (isdigit((int)*p)) { /* reset non_num as needed */
non_num = false;
More information about the inn-bugs
mailing list