You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Brotli message on Joomla! 4.4.4 and the .htaccess code in htaccess.txt is wrong. It's missing the L flag in the RewriteRule lines. It accidentally works on the core .htaccess only because there are no other RedirectRules after it. If someone adds RedirectRule lines, as is common, the site might break.
The [L] flag causes mod_rewrite to stop processing the rule set. In most contexts, this means that if the rule matches, no further rules will be processed. Use this flag to indicate that the current rule should be applied immediately without considering further rules.
In the core htaccess file it fortunately does not cause any problems but if you are using your own htaccess file (eg Master Htaccess and follow the advice in the post installation messages and add the lines then this may cause problems.
COM_ADMIN_POSTINSTALL_MSG_HTACCESS_BROTLI_DESCRIPTION="<p>Before 5.1.0 the default htaccess.txt did not support Brotli compression. This could result in double compression errors when Joomla is installed on a server that uses Brotli compression. You should manually apply the necessary changes to any existing .htaccess file, as this file can not be updated automatically.</p><p>The old code:</p><pre>RewriteRule \"\.css\.gz$\" \"-\" [T=text/css,E=no-gzip:1]<br>RewriteRule \"\.js\.gz$\" \"-\" [T=text/javascript,E=no-gzip:1]</pre><p>The new code:</p><pre>RewriteRule \"\.css\.gz$\" \"-\" [T=text/css,E=no-gzip:1,E=no-brotli:1]<br>RewriteRule \"\.js\.gz$\" \"-\" [T=text/javascript,E=no-gzip:1,E=no-brotli:1]</pre>"
The text was updated successfully, but these errors were encountered:
The Brotli message on Joomla! 4.4.4 and the .htaccess code in htaccess.txt is wrong. It's missing the L flag in the RewriteRule lines. It accidentally works on the core .htaccess only because there are no other RedirectRules after it. If someone adds RedirectRule lines, as is common, the site might break.
joomla-cms/htaccess.txt
Lines 161 to 162 in fcf0ad1
Each of these rules is missing the L flag.
In the core htaccess file it fortunately does not cause any problems but if you are using your own htaccess file (eg Master Htaccess and follow the advice in the post installation messages and add the lines then this may cause problems.
joomla-cms/administrator/language/en-GB/com_admin.ini
Line 249 in fcf0ad1
The text was updated successfully, but these errors were encountered: