Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | blank-menu_2742297.patch | 452 bytes | jalpesh |
Comments
Comment #2
jalpesh CreditAttribution: jalpesh as a volunteer and at Cybage Software Pvt Ltd. commentedHere are the patch so you can apply quickly.
Comment #3
jalpesh CreditAttribution: jalpesh as a volunteer and at Cybage Software Pvt Ltd. commented