contrib modules security updates
This commit is contained in:
@@ -48,12 +48,12 @@ function views_ajax() {
|
||||
|
||||
// Add all $_POST data, because AJAX is always a post and many things,
|
||||
// such as tablesorts, exposed filters and paging assume $_GET.
|
||||
$_GET = $_POST + $_GET;
|
||||
$_GET = $_POST + drupal_get_query_parameters($_GET, array('page'));
|
||||
|
||||
// Overwrite the destination.
|
||||
// @see drupal_get_destination()
|
||||
$origin_destination = $path;
|
||||
$query = drupal_http_build_query($_REQUEST);
|
||||
$query = drupal_http_build_query(drupal_get_query_parameters());
|
||||
if ($query != '') {
|
||||
$origin_destination .= '?' . $query;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user