In #2415557-6: menu_router path matching, a patch was submitted to make path checking work with URLs like "system/ajax", "panels/ajax", etc, which usually have additional parts appended to the end of the path (see the original issue description for more background).

It was closed prematurely, with the message:

This code is in the development branch of the module.

I cannot find this code in the development branch:
http://cgit.drupalcode.org/fast_404/tree/fast_404.inc?h=7.x-1.x

I'd like to re-open that issue, but it was closed and cannot be reopened except by the maintainer.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joelstein created an issue. See original summary.

joelstein’s picture

Here's the patch posted in #2415557-6: menu_router path matching, modified to remove this bit from each query (that doesn't make any sense to include it):

OR :path LIKE path

With this patch, I'm able to use path checking with ajax requests. Please consider merging this into the codebase. Thanks!

joelstein’s picture

Status: Needs review » Needs work

Actually, while this works for paths that look like "views/ajax" and the like, it doesn't work for paths like "media/2/edit/ajax", which is the path Media uses when you click the Edit button.