From 4cc9259fbea9e61502da0f0194738aa7248773c1 Mon Sep 17 00:00:00 2001 From: "John Paul E. Balandan, CPA" Date: Mon, 27 Feb 2023 00:32:01 +0800 Subject: [PATCH] Fix handling of null bytes in `Exceptions::renderBacktrace()` --- system/Debug/Exceptions.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/system/Debug/Exceptions.php b/system/Debug/Exceptions.php index 6dc098d4af10..143d17ed56a3 100644 --- a/system/Debug/Exceptions.php +++ b/system/Debug/Exceptions.php @@ -531,9 +531,6 @@ private static function renderBacktrace(array $backtrace): string case is_resource($value): return sprintf('resource (%s)', get_resource_type($value)); - case is_string($value): - return var_export(clean_path($value), true); - default: return var_export($value, true); }