I think I have found where the problem lies.
file : count.classes.php
class : js_JSCountVisitor
method : getRequestedUri()
The returned url is wrong when the SEF is ON because the $_SERVER['QUERY_STRING'] variable does not contain the component-related parameters encoded in the path part of the url.
To solve this issue, I replaced this single line:
| Code: |
$request_uri = $this->sefRelToAbs('index.php?' . $_SERVER['QUERY_STRING']);
|
by these ones:
| Code: |
$uri = clone(JURI::getInstance());
$router =& $app->getRouter();
$result = $router->parse($uri);
$query_string = $uri->buildQuery($result);
$request_uri = $this->sefRelToAbs('index.php?' . $query_string);
|
-Fly06