Revision b7cb6042
Added by Scott Ullrich about 18 years ago
etc/inc/util.inc | ||
---|---|---|
215 | 215 |
if (in_array($name, $reserved, true)) |
216 | 216 |
return; /* return NULL */ |
217 | 217 |
|
218 |
if (!preg_match("/[^a-zA-Z0-9]/", $name)) |
|
218 |
if (!preg_match("/[^a-zA-Z0-9\-_]/", $name))
|
|
219 | 219 |
return true; |
220 | 220 |
else |
221 | 221 |
return false; |
... | ... | |
563 | 563 |
} |
564 | 564 |
} |
565 | 565 |
|
566 |
?> |
|
566 |
?> |
Also available in: Unified diff
MFC
The aliases edit page says we allow the - and _ but the pattern did not match.