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.
Just got bit by this; allowing a % in this might be a good idea
function boost_is_cacheable($path) {
...
// Don't cache path if it can't be served by apache.
if (BOOST_ONLY_ASCII_PATH) {
if (preg_match('@[^/a-z0-9_\-&=,\.:]@i', $path)) {
return FALSE;
}
}
...
}
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedProposed Regex, untested