Allow additional characters that often appear in queries.
This commit is contained in:
parent
02a2fcbbc9
commit
744ad08644
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ while (1) {
|
||||||
print STDERR "sleep for 2 seconds\n" if $VERBOSE > 2;
|
print STDERR "sleep for 2 seconds\n" if $VERBOSE > 2;
|
||||||
sleep 2;
|
sleep 2;
|
||||||
next;
|
next;
|
||||||
} elsif ($query{question} !~ /^[\,\=\~\-\@\w.\s\"\'\_\(\)]+$/) {
|
} elsif ($query{question} !~ /^[\,\=\~\-\@\w.\s\"\'\_\(\)\<\>\*\.\!]+$/) {
|
||||||
print STDERR "Query string $query{question} looks suspicious, not running beancount query!\n";
|
print STDERR "Query string $query{question} looks suspicious, not running beancount query!\n";
|
||||||
(tied %query)->shlock;
|
(tied %query)->shlock;
|
||||||
$query{fifoName} = mktemp("REJECTED_beancount-query-fifo-this-file-does-not-exist_${$}_XXXXXXXXX");
|
$query{fifoName} = mktemp("REJECTED_beancount-query-fifo-this-file-does-not-exist_${$}_XXXXXXXXX");
|
||||||
|
|
Loading…
Reference in a new issue