Inital commit for unit test configuration
This commit is contained in:

committed by
Manish Verma

parent
2f0796e954
commit
e0436b7757
@@ -290,7 +290,13 @@ class TraceMiddleware
|
||||
{
|
||||
if ($this->config['scrub_auth']) {
|
||||
foreach ($this->config['auth_strings'] as $pattern => $replacement) {
|
||||
$value = preg_replace($pattern, $replacement, $value);
|
||||
$value = preg_replace_callback(
|
||||
$pattern,
|
||||
function ($matches) use ($replacement) {
|
||||
return $replacement;
|
||||
},
|
||||
$value
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user