Closed (won't fix)
Project:
Drupal core
Version:
5.2
Component:
menu system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Aug 2007 at 15:57 UTC
Updated:
21 Jun 2011 at 02:47 UTC
Let's say that my module registers the path 'mypath' with a callback function and no callback arguments.
Then if I go to http://example.com/mypath and http://example.com/mypath/somepath and even http://example.com/mypath/somepath/andsomemore I get exactly the same page.
This is unless I'm smart enough to add if (arg(1)) { drupal_not_found(); } to my callback function.
I believe the menu system should run a check for unnecessary extra arguments in the path before calling the callback function, similar to the one above.
Comments
Comment #1
dpearcefl commentedConsidering the age of this issue with no responses and that D5 is unsupported, I am closing this issue.