Commit 5d4890d2 authored by Leigh Stoller's avatar Leigh Stoller

Hack to handle /q path arguments provided by xmlrpc server. Temporary.

parent b674bc7b
......@@ -383,6 +383,9 @@ sub ValidatePath($)
return 1;
}
# XXX For template checkout/commit via xmlrpc interface
$pathname =~ s/^\/q//;
if (! -e $pathname || ! -r $pathname) {
print STDERR "*** ValidatePath: $pathname cannot be read!\n";
return 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