- Create a new Drupal-7 site using the latest git checkout code.
- Install a module that implements
hook_url_inbound_alter()
to redirect to canonical urls. - Visit the
admin/reports/status
page and copy the cron url into a crontab task. - Visit the
admin/config/system/site-information
page and set the Default front page to something other than node. - Discover the following sequence:
cron.php
callsdrupal_bootstrap(DRUPAL_BOOTSTRAP_FULL)
drupal_bootstrap()
calls_drupal_bootstrap_full()
_drupal_bootstrap_full()
callsdrupal_path_initialize()
drupal_path_initialize()
callsdrupal_get_normal_path(variable_get('site_frontpage', 'node'))
drupal_get_normal_path()
invokeshook_url_inbound_alter
- The redirect module calls
drupal_goto()
to redirect to the<front>
- Result: cron functions never run, and my mailbox gets filled up with copies of the homepage.
Patched the redirect module to work around the core bug in #905914-26: Merge global redirect functions into Redirect module