Skip to content
Extraits de code Groupes Projets
Valider bd250985 rédigé par mattab's avatar mattab
Parcourir les fichiers

Append the request_uri but avoid double slashes (for integration tests to pass)

parent 0c30892e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -488,7 +488,9 @@ class Fixture extends \PHPUnit_Framework_Assert ...@@ -488,7 +488,9 @@ class Fixture extends \PHPUnit_Framework_Assert
$piwikUrl = str_replace("https://", "http://", $piwikUrl); $piwikUrl = str_replace("https://", "http://", $piwikUrl);
// append REQUEST_URI (eg. when Piwik runs at http://localhost/piwik/) // append REQUEST_URI (eg. when Piwik runs at http://localhost/piwik/)
$piwikUrl .= $piwikUri; if($piwikUri != '/') {
$piwikUrl .= $piwikUri;
}
return $piwikUrl; return $piwikUrl;
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter