@@ 46-48 (lines=3) @@ | ||
43 | ||
44 | if ( is_array($request) ) { |
|
45 | foreach ( $request as $key => $value ) { |
|
46 | if ( (strpos($key, '_nh-dns') !== false) || in_array($key, $filter) ) { |
|
47 | $value = '**********'; |
|
48 | } |
|
49 | ||
50 | $request_string .= $key . ': ' . $value . "\n"; |
|
51 | } |
|
@@ 64-66 (lines=3) @@ | ||
61 | if ( function_exists('http_build_query') ) { |
|
62 | $value = http_build_query($value); |
|
63 | } |
|
64 | } elseif ( (strpos($key, '_nh-dns') !== false) || in_array($key, $filter) ) { |
|
65 | $value = '**********'; |
|
66 | } |
|
67 | ||
68 | $response_string .= $key . ': ' . $value . "\n"; |
|
69 | } |