Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293784

Not returning 404 for the menu path doesn't exist

$
0
0

General menu path "news/releases" gets executed for wildcards "news/releases/abcd", it should return 404 page.

I only have:
$items['news/releases'] = array(
'title' => 'Press Releases',
'page callback' => 'page_callback',
'access callback' => 'access_callback',
);

Only "news/releases" request should return 200 page, requests "news/releases/*" should return 404 page. What can I do to achieve this?


Viewing all articles
Browse latest Browse all 293784

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>