The module attaches, through hook_menu_alter, two additional parameters to page arguments: the original page callback and url components. These arguments are consumed by me_handler() through the following code:
$parts = array_pop($args);
$callback = array_pop($args);
This is usually ok. However, what I think we're not considering is the cases when url provides additional arguments. For example, if we try to access user/%/edit/subscriptions, and this is not a registered path, 'subscriptions' is dynamically added as an additional argument for the page. In that case, the code above obviously fails.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | me-consider-url-arguments-2539462-1.patch | 1.29 KB | cambraca |
Comments
Comment #1
cambraca commentedThis file was given to me by the OP, who is having problems with the site.
Comment #2
cpierce42I encountered this same issue.
I have tested this on my site and seems to fix my warnings and white page of death when navigating to the aliased path of:
/user/2789/track/navigationMy QA person is testing the rest of the site as I type, so far this patch works.
Comment #5
nohup commentedPatch committed. Thanks