Skip to content

Commit 867b36c

Browse files
authored
Merge pull request #3501 from DataDog/glopes/hardcoded_GET
Fix incorrectly hardcoded _GET
2 parents 5de7af9 + f25eded commit 867b36c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

appsec/src/extension/php_helpers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const zend_array *nonnull dd_get_superglob_or_equiv(
6464
if (equiv) {
6565
ret = zend_hash_str_find(equiv, name, name_len);
6666
} else {
67-
ret = dd_php_get_autoglobal(track, ZEND_STRL("_GET"));
67+
ret = dd_php_get_autoglobal(track, name, name_len);
6868
}
6969

7070
if (!ret || Z_TYPE_P(ret) != IS_ARRAY) {

0 commit comments

Comments
 (0)