Commit c7390433 authored by Leigh Stoller's avatar Leigh Stoller

Minor bug fix.

parent bd282b7d
......@@ -123,7 +123,7 @@ else {
fatal("Tainted argument $xmldoc");
}
# Cause we are invoked from the xmlrpc server with this name format.
if (! ($xmldoc =~ /^\/var\/tmp\/php\w+/)) {
if (! ($xmldoc =~ /^\/var\/tmp\/php[-\w]+/)) {
fatal("$xmldoc does not resolve to an appropriate directory!");
}
if (! -e $xmldoc) {
......
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