This happens only if DRUPAL_BOOTSTRAP_FULL has been reached; need to check because HTTPRL can be ran at the DRUPAL_BOOTSTRAP_DATABASE level.

Use $GLOBALS['multibyte'] as a test to see if we are fully booted up.
_drupal_bootstrap_full() calls unicode_check() which sets this global.

Calling drupal_bootstrap() should do the trick.

This will allow for 3rd party post processors like json decoding, xml parsing, and other things that might be useful. This would happen before the callback function is ran; if one is defined.

Members fund testing for the Drupal project. Drupal Association Learn more


mikeytown2’s picture

This patch has been committed.

mikeytown2’s picture

Fixed the hook name in this patch; it has been committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Updated issue summary.