Skip to content

Commit

Permalink
Fix not to remove HTML from error message if in UI mode
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Sep 14, 2023
1 parent 66fa0ee commit 1c5fc12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion authentic.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1581,7 +1581,9 @@ sub theme_error
my $error_message = join(", ", @err_msg);
$err_caller = " " . &ui_help($err_caller)
if ($err_caller);
my $error = html_escape(html_strip(($error_what . $error_message))) . $err_caller;
my $error = $error_what . $error_message . $err_caller;
$error = html_escape(html_strip(($error_what . $error_message))) . $err_caller
if ($main::webmin_script_type ne 'web');
my $get_error_stack = sub {
# Show call stack
my $error_stack = "";
Expand Down

0 comments on commit 1c5fc12

Please sign in to comment.