Commit c4f05c21 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix.

parent 7197f39c
<?php
#
# Copyright (c) 2006-2013 University of Utah and the Flux Group.
# Copyright (c) 2006-2014 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -662,7 +662,7 @@ function VerifyPageArguments($argspec, $required)
$yep = 1;
# Only printable chars.
if (!preg_match("/^[\040-\176]+$/", $object)) {
if (!preg_match("/^[\040-\176]*$/", $object)) {
PAGEARGERROR("Invalid characters in '$name'");
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment