Commit 68e7e12a authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Fix path ereg so that : is allowed (ip:/path).

parent 799744af
......@@ -58,7 +58,7 @@ if (isset($os_path)) {
unset($os_path);
}
else {
if (! ereg("^[-_a-zA-Z0-9\/\.]+$", $os_path)) {
if (! ereg("^[-_a-zA-Z0-9\/\.:]+$", $os_path)) {
USERERROR("The path contains invalid characters!", 1);
}
}
......
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