Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
menu system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Anonymous (not verified)
Created:
17 Oct 2012 at 12:26 UTC
Updated:
10 Mar 2021 at 08:53 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedIs this still an issue in D8?
Comment #2
dawehnerhook_url_inbound_alter has always been a problematic hook and could cause all sort of problems.
I would actually say that the best way to deal with it is to add recursion protection into your own hook_urL_inbound_alter so you are safe.
Comment #3
Anonymous (not verified) commentedThat might work around a major bug in Drupal core but this needs resolved in menu_get_item().
Comment #12
quietone commentedmenu_get_item was removed from Drupal 8 in #2177031: Remove menu_get_item() and every use of it. in Feb 2014. The problematic hook referred to in #3 hook_url_inbound_alter was removed in #1862024: Remove all references to hook_url_inbound_alter as it is no longer invoked in Dec 2012. That makes this no longer relevant to Drupal 8+ and since the hook and menu_get_item are in Drupal 7, changing version to Drupal 7.