Skip to content

Commit 4c69da2

Browse files
authored
Merge pull request #7306 from paulbalandan/render-backtrace-fix-nul
Fix handling of null bytes in `Exceptions::renderBacktrace()`
2 parents aaf3bff + 4cc9259 commit 4c69da2

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

system/Debug/Exceptions.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -531,9 +531,6 @@ private static function renderBacktrace(array $backtrace): string
531531
case is_resource($value):
532532
return sprintf('resource (%s)', get_resource_type($value));
533533

534-
case is_string($value):
535-
return var_export(clean_path($value), true);
536-
537534
default:
538535
return var_export($value, true);
539536
}

0 commit comments

Comments
 (0)