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.
The documentation of the module sets an example of paths that will be whitelisted as:
# Array of whitelisted files/urls. Used if whitelisting is set to TRUE.
$conf['fast_404_whitelist'] = array('index.php', 'rss.xml', 'install.php', 'cron.php', 'update.php', 'xmlrpc.php');
But those paths will not match the return of $path = parse_url('http://example.com' . $uri, PHP_URL_PATH);
as parse_url returns the paths with prefix / such as /index.php, /update.php and so on.
The information in the README.TXT file must be updated accordingly.
Comment | File | Size | Author |
---|---|---|---|
#2 | fix_whitelisting_paths_in_documentation-2895077-2.patch | 663 bytes | kurkuma |
Comments
Comment #2
kurkuma CreditAttribution: kurkuma as a volunteer and commentedPatch attached.
Comment #3
kurkuma CreditAttribution: kurkuma as a volunteer and commented