diff options
Diffstat (limited to 'plugins/jetpack/_inc/lib/debugger/class-jetpack-debug-data.php')
-rw-r--r-- | plugins/jetpack/_inc/lib/debugger/class-jetpack-debug-data.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jetpack/_inc/lib/debugger/class-jetpack-debug-data.php b/plugins/jetpack/_inc/lib/debugger/class-jetpack-debug-data.php index b67fc472..370d1d1e 100644 --- a/plugins/jetpack/_inc/lib/debugger/class-jetpack-debug-data.php +++ b/plugins/jetpack/_inc/lib/debugger/class-jetpack-debug-data.php @@ -265,7 +265,7 @@ class Jetpack_Debug_Data { if ( isset( $_SERVER[ $header ] ) ) { $debug_info[ $header ] = array( 'label' => 'Server Variable ' . $header, - 'value' => ( $_SERVER[ $header ] ) ? $_SERVER[ $header ] : 'false', + 'value' => empty( $_SERVER[ $header ] ) ? 'false' : filter_var( wp_unslash( $_SERVER[ $header ] ) ), 'private' => true, // This isn't really 'private' information, but we don't want folks to easily paste these into public forums. ); } |