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

mikeytown2’s picture

Proposed Regex, untested

function boost_is_cacheable($path) {
...
  // Don't cache path if it might not be served by apache.
  if (BOOST_ONLY_ASCII_PATH) {
    if (preg_match('@[^-./a-z0-9_&=,%:]@i', $path)) {
      return FALSE;
    }
  }
...
}