Because of the global arg() conundrum (we use it in too many places) you should also restore the path in the ajax callback. Unfortunately, this gets called way too late in the load process to help with hook_init() and hook_menu() checks on arg()... but it might help others.

CommentFileSizeAuthor
#1 hspath.patch887 bytesdouggreen

Comments

douggreen’s picture

StatusFileSize
new887 bytes
douggreen’s picture

Status: Needs review » Closed (fixed)

Nevermind, this does seem to cause other problems ... such as when form_alter is called, some unknown module on my site, is calling a drupal_goto() and thus hs hangs.