RewriteCond - allow dots in urls

Fix for <a href="https://github.com/joomla/joomla-cms/issues/4285">this issue</a>.