Eileen has uploaded a new change for review. https://gerrit.wikimedia.org/r/286562
Change subject: CRM-17983, CRM-18401. Input validation ...................................................................... CRM-17983, CRM-18401. Input validation This is part of a series of commits upstream in these PRs 4.6 https://github.com/civicrm/civicrm-core/pull/8183 https://github.com/civicrm/civicrm-core/pull/8221 https://github.com/civicrm/civicrm-core/pull/8248 https://github.com/civicrm/civicrm-core/pull/8252 https://github.com/civicrm/civicrm-core/pull/8263 https://github.com/civicrm/civicrm-core/pull/8275 master https://github.com/civicrm/civicrm-core/pull/8106 https://github.com/civicrm/civicrm-core/pull/8204 https://github.com/civicrm/civicrm-core/pull/8205 https://github.com/civicrm/civicrm-core/pull/8214 https://github.com/civicrm/civicrm-core/pull/8216 https://github.com/civicrm/civicrm-core/pull/8243 https://github.com/civicrm/civicrm-core/pull/8254 Change-Id: I6bd1a0f6767909624fc326f8131d2f84d677ee6f --- M CRM/Contact/Page/AJAX.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm/civicrm refs/changes/62/286562/1 diff --git a/CRM/Contact/Page/AJAX.php b/CRM/Contact/Page/AJAX.php index fc081a4..b025416 100644 --- a/CRM/Contact/Page/AJAX.php +++ b/CRM/Contact/Page/AJAX.php @@ -838,7 +838,7 @@ $offset = isset($_REQUEST['iDisplayStart']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayStart'], 'Integer') : 0; $rowCount = isset($_REQUEST['iDisplayLength']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayLength'], 'Integer') : 25; $sort = isset($_REQUEST['iSortCol_0']) ? CRM_Utils_Array::value(CRM_Utils_Type::escape($_REQUEST['iSortCol_0'], 'Integer'), $sortMapper) : NULL; - $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'String') : 'asc'; + $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'mysqlOrderByDirection') : 'asc'; $params = $_POST; if ($sort && $sortOrder) { -- To view, visit https://gerrit.wikimedia.org/r/286562 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6bd1a0f6767909624fc326f8131d2f84d677ee6f Gerrit-PatchSet: 1 Gerrit-Project: wikimedia/fundraising/crm/civicrm Gerrit-Branch: master Gerrit-Owner: Eileen <emcnaugh...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits