mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-24 00:05:00 +00:00
Ensure log report is always in valid UTF-8
Bug: T377473 Change-Id: Ica9bc98e100e169c6c4dd8398d410347c59ee2fd
This commit is contained in:
parent
726638268d
commit
756896edbb
|
@ -87,7 +87,7 @@ class LuaSandboxEngine extends LuaEngine {
|
|||
|
||||
$logs = $this->getLogBuffer();
|
||||
if ( $logs !== '' ) {
|
||||
$ret['scribunto-limitreport-logs'] = $logs;
|
||||
$ret['scribunto-limitreport-logs'] = $this->fixTruncation( $logs );
|
||||
}
|
||||
|
||||
if ( $t < 1.0 ) {
|
||||
|
|
Loading…
Reference in a new issue