Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Joomla router patch for adding trailing slashes to generated urls
*** 397,403 ****
//Set query again in the URI
$uri->setQuery($query);
! $uri->setPath($route);
}
protected function _processParseRules(&$uri)
--- 397,403 ----
//Set query again in the URI
$uri->setQuery($query);
! $uri->setPath($route . '/');
}
protected function _processParseRules(&$uri)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment