Skip to content
Browse files

Added missing filtered vars. The HTTP_ ones would show up with regist…

…er_long_arrays=1.
  • Loading branch information...
1 parent 1cbc0cf commit 4e48d0963ff20fb7ad4e2ec84ebb839a8ea5325b @derickr committed May 7, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 xdebug_handler_dbgp.c
View
11 xdebug_handler_dbgp.c
@@ -1984,6 +1984,17 @@ static int xdebug_add_filtered_symboltable_var(zval *symbol XDEBUG_ZEND_HASH_APP
if (strcmp("_POST", hash_key->arKey) == 0) { return 0; }
if (strcmp("_REQUEST", hash_key->arKey) == 0) { return 0; }
if (strcmp("_SERVER", hash_key->arKey) == 0) { return 0; }
+ if (strcmp("_SESSION", hash_key->arKey) == 0) { return 0; }
+ }
+ if (hash_key->arKey[0] == 'H') {
+ if (strcmp("HTTP_COOKIE_VARS", hash_key->arKey) == 0) { return 0; }
+ if (strcmp("HTTP_ENV_VARS", hash_key->arKey) == 0) { return 0; }
+ if (strcmp("HTTP_GET_VARS", hash_key->arKey) == 0) { return 0; }
+ if (strcmp("HTTP_POST_VARS", hash_key->arKey) == 0) { return 0; }
+ if (strcmp("HTTP_POST_FILES", hash_key->arKey) == 0) { return 0; }
+ if (strcmp("HTTP_RAW_POST_DATA", hash_key->arKey) == 0) { return 0; }
+ if (strcmp("HTTP_SERVER_VARS", hash_key->arKey) == 0) { return 0; }
+ if (strcmp("HTTP_SESSION_VARS", hash_key->arKey) == 0) { return 0; }
}
if (strcmp("GLOBALS", hash_key->arKey) == 0) { return 0; }

0 comments on commit 4e48d09

Please sign in to comment.
Something went wrong with that request. Please try again.