Check for .htaccess RewriteBase in tiki-check.php
Hello everyone,
I found (in both 27.1 and 24.7) that even if I set the RewriteBase correctly as per the Server Fitness report, the error would still be there - apparently it's caused by tiki-check.php not taking into account leading space when looking for RewriteBase in the .htaccess file.
That is, instead of doingpreg_match('/^RewriteBase\s*(.*)$/', $nextLine, $m)it should probably do something like
preg_match('/^\s*RewriteBase\s*(.*)$/', $nextLine, $m)since the line would most likely be indented under the IfModule mod_rewrite check.
I tried to report that through the Make-a-wish page, but either it doesn't work right or I'm missing something - the Category field would get wiped out upon each Submit (and then obviously complain it's mandatory).
Thank you.