This is the same bug found in xsendfile which was resolved and commited by marcoka.

Change:

function nginx_accel_redirect_menu_alter(&$items) {
  $items['system/files'] = array(
    'page callback' => 'nginx_accel_redirect_file_transfer',
    'page arguments' => array('private'),
    'access callback' => TRUE,
  );

To:

function nginx_accel_redirect_menu_alter(&$items) {
  $items['system/files'] = array(
    'page callback' => 'nginx_accel_redirect_file_transfer',
    'page arguments' => array('private'),
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );

Could you please commit this change to your module?

Thanks.

CommentFileSizeAuthor
#2 blank-menu_2742297.patch452 bytesjalpesh
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cj-a-min created an issue. See original summary.

jalpesh’s picture

FileSize
452 bytes

Here are the patch so you can apply quickly.

jalpesh’s picture

Assigned: Unassigned » jalpesh
Status: Active » Needs review