Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | fast_404-menu-router-path-matching-2867853-2.patch | 1.05 KB | joelstein |
Comments
Comment #2
joelstein CreditAttribution: joelstein at On Fire Media commentedHere'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):
With this patch, I'm able to use path checking with ajax requests. Please consider merging this into the codebase. Thanks!
Comment #3
joelstein CreditAttribution: joelstein at On Fire Media commentedActually, 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.