Escape single quotes sent to the ProgressBar. Fixes but #11229.
This commit is contained in:
parent
6c6270346e
commit
b88a7bc190
4 changed files with 18 additions and 2 deletions
|
|
@ -147,7 +147,8 @@ A message to be displayed in the status bar.
|
|||
|
||||
sub update {
|
||||
my $self = shift;
|
||||
my $message = shift; ##JS string escaping?
|
||||
my $message = shift;
|
||||
$message =~ s/'/\\'/g; ##Encode single quotes for JSON;
|
||||
$self->session->log->preventDebugOutput;
|
||||
$self->{_counter} += 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue