Hi I want to report bug in the regexp in the file:.htaccess
Which producing 500 Internal server error after update to the Drupal core 7.22
on the Apache 1.x (which still don't use PCRE library for regexp analysing).
If I'm understanding situation correctly D7.22 release has bug in the FilesMatch regexp pattern:
In the .htaccess is this:
<FilesMatch "\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)(|~|\.sw[op]|\.bak|\.orig|\.save)?$|^(\..*|Entries.*|Repository|Root|Tag|Template)$|^#.*#$|\.php(~|\.sw[op]|\.bak|\.orig\.save)$">but it's wrong regex, because there must be that:
<FilesMatch "\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)(~|\.sw[op]|\.bak|\.orig|\.save)?$|^(\..*|Entries.*|Repository|Root|Tag|Template)$|^#.*#$|\.php(~|\.sw[op]|\.bak|\.orig\.save)$">because in the regex | is always binary operator.
Maybe PCRE used in the Apache 2.x is a bit benevolent, but it is error anyway and will be nice to be fixed soon.
Thanks,
Petr.