diff --git a/CHANGELOG b/CHANGELOG index 42327f3..02a975d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -8,6 +8,7 @@ - cthon more map parser corrections. - cthon cleanup and corrections. - cthon more cleanup and corrections. +- cthon correction to host validation. 13/7/2006 autofs-5.0.1 rc1 -------------------------- diff --git a/modules/parse_sun.c b/modules/parse_sun.c index 1b396a0..b07424f 100644 --- a/modules/parse_sun.c +++ b/modules/parse_sun.c @@ -762,7 +762,8 @@ static int validate_location(char *loc) while (*ptr && *ptr != ':') { if (!(isalnum(*ptr) || - *ptr == '-' || *ptr == '.' || *ptr == ',')) + *ptr == '-' || *ptr == '.' || + *ptr == ',' || *ptr == '(' || *ptr == ')')) return 0; ptr++; }