We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 242fe18 + d1cf821 commit d3904e5Copy full SHA for d3904e5
1 file changed
src/tpl/think_exception.tpl
@@ -68,7 +68,7 @@ if (!function_exists('parse_args')) {
68
break;
69
}
70
71
- $result[] = is_int($key) ? $value : "'{$key}' => {$value}";
+ $result[] = is_int($key) ? $value : sprintf('\'%s\' => %s', htmlentities($key), $value);
72
73
74
return implode(', ', $result);
0 commit comments