Skip to content

Commit

Permalink
# [#30325] Commit of #29319 Breaks Redirect. Thanks Mark
Browse files Browse the repository at this point in the history
  • Loading branch information
dextercowley authored and infograf768 committed Mar 19, 2013
1 parent 9b20e14 commit 2a00cf4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
3 changes: 3 additions & 0 deletions installation/CHANGELOG
Expand Up @@ -26,6 +26,9 @@ $ -> Language fix or change
- -> Removed
! -> Note

19-Mar-2013 Jean-Marie Simonet
# [#30325] Commit of #29319 Breaks Redirect. Thanks Mark

18-Mar-2013 Jean-Marie Simonet
# [#26860] A Contact name *must not* be unique. Thanks Christophe and Janich
# [#28874] Registration activation email links. Thanks Marco
Expand Down
14 changes: 0 additions & 14 deletions plugins/system/sef/sef.php
Expand Up @@ -43,20 +43,6 @@ public function onAfterRoute()
$domain = $uri->toString(array('scheme', 'host', 'port'));
}

$router = JRouter::getInstance('site');
if ($router->getMode() == JROUTER_MODE_SEF)
{
$params = array(
"option" => "string",
"view" => "string",
"catid" => "int",
"Itemid" => "int",
"id" => "int"
);
$jinput = JFactory::getApplication()->input;
$segments = array_merge($jinput->getArray($params), $uri->getQuery(true));
$uri->setQuery($segments);
}
$link = 'index.php' . $uri->toString(array('query','fragment'));
$link = $domain . JRoute::_($link);
if ($current !== $link)
Expand Down

0 comments on commit 2a00cf4

Please sign in to comment.