aboutsummaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2013-03-27 18:23:27 -0700
committerRuss Allbery <rra@stanford.edu>2013-03-27 19:02:00 -0700
commit945608173ffc08cd1351433100dcc869aa6dafb1 (patch)
tree2441d5e7fa7caefc0bd4615c5e8067f22e7ed843 /server
parent0002bc7ed9ff15f6c3f2b457509d5ef0f2b5a4a4 (diff)
Accept any characters in the argument to the comment command
It's nice to have spaces and other special characters in comments, so allow any character rather than applying the normal argument filtering. Change-Id: Iec8584f1f6893906db7245fbe571d62ebc60f72a Reviewed-on: https://gerrit.stanford.edu/989 Reviewed-by: Russ Allbery <rra@stanford.edu> Tested-by: Russ Allbery <rra@stanford.edu>
Diffstat (limited to 'server')
-rwxr-xr-xserver/wallet-backend2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/wallet-backend b/server/wallet-backend
index fc3434e..3c87709 100755
--- a/server/wallet-backend
+++ b/server/wallet-backend
@@ -195,7 +195,7 @@ sub command {
print $status ? "yes\n" : "no\n";
}
} elsif ($command eq 'comment') {
- check_args (2, 3, [], @args);
+ check_args (2, 3, [3], @args);
if (@args > 2) {
$server->comment (@args) or failure ($server->error, @_);
} else {