mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-17 09:29:30 +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 $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 = '';
|
my $quoted_args = '';
|
||||||
|
|
||||||
|
@ -217,7 +217,7 @@ sub split_line {
|
|||||||
sub quote_args {
|
sub quote_args {
|
||||||
my ($self, $text) = @_;
|
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 = '';
|
my $quoted = '';
|
||||||
|
|
||||||
|
@ -25,8 +25,8 @@ use PBot::Imports;
|
|||||||
# These are set by the /misc/update_version script
|
# These are set by the /misc/update_version script
|
||||||
use constant {
|
use constant {
|
||||||
BUILD_NAME => "PBot",
|
BUILD_NAME => "PBot",
|
||||||
BUILD_REVISION => 4791,
|
BUILD_REVISION => 4793,
|
||||||
BUILD_DATE => "2024-09-28",
|
BUILD_DATE => "2024-10-01",
|
||||||
};
|
};
|
||||||
|
|
||||||
sub initialize {}
|
sub initialize {}
|
||||||
|
Loading…
Reference in New Issue
Block a user