Skip to content

Instantly share code, notes, and snippets.

@Ulv
Created August 16, 2013 08:08
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ulv/6248153 to your computer and use it in GitHub Desktop.
Save Ulv/6248153 to your computer and use it in GitHub Desktop.
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