Changeset 30865 for branches/2.5/include/functions.inc.php
- Timestamp:
- Jan 8, 2015, 2:09:38 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/include/functions.inc.php
r22654 r30865 1566 1566 } 1567 1567 1568 foreach ($param_value as $ item_to_check)1569 { 1570 if (!preg_match( $pattern, $item_to_check))1568 foreach ($param_value as $key => $item_to_check) 1569 { 1570 if (!preg_match(PATTERN_ID, $key) or !preg_match($pattern, $item_to_check)) 1571 1571 { 1572 1572 fatal_error('[Hacking attempt] an item is not valid in input parameter "'.$param_name.'"');
Note: See TracChangeset
for help on using the changeset viewer.