mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-17 01:19:31 +01:00
pbot-vm: Preserve escapes in -args and -stdin
This commit is contained in:
parent
6002c93d60
commit
9192b7bfad
@ -85,7 +85,7 @@ sub postprocess {
|
||||
|
||||
my $ulimits = "ulimit -f 2000; ulimit -t 8; ulimit -u 200";
|
||||
|
||||
my @args = $self->split_line($self->{arguments}, strip_quotes => 1, preserve_escapes => 0);
|
||||
my @args = $self->split_line($self->{arguments}, strip_quotes => 1, preserve_escapes => 1);
|
||||
|
||||
my $quoted_args = '';
|
||||
|
||||
|
@ -217,7 +217,7 @@ sub split_line {
|
||||
sub quote_args {
|
||||
my ($self, $text) = @_;
|
||||
|
||||
my @args = $self->split_line($text, strip_quotes => 1, preserve_escapes => 0);
|
||||
my @args = $self->split_line($text, strip_quotes => 1, preserve_escapes => 1);
|
||||
|
||||
my $quoted = '';
|
||||
|
||||
|
@ -25,8 +25,8 @@ use PBot::Imports;
|
||||
# These are set by the /misc/update_version script
|
||||
use constant {
|
||||
BUILD_NAME => "PBot",
|
||||
BUILD_REVISION => 4791,
|
||||
BUILD_DATE => "2024-09-28",
|
||||
BUILD_REVISION => 4793,
|
||||
BUILD_DATE => "2024-10-01",
|
||||
};
|
||||
|
||||
sub initialize {}
|
||||
|
Loading…
Reference in New Issue
Block a user