diff --git a/CRM/Utils/System.php b/CRM/Utils/System.php index 11e9eb1710a36614b1eac5004c53087cc1545eba..3b7267b6ea67260229c0e649ce6d467fb4315df8 100644 --- a/CRM/Utils/System.php +++ b/CRM/Utils/System.php @@ -333,7 +333,7 @@ class CRM_Utils_System { * @return \Psr\Http\Message\UriInterface */ $mkRouteUri = function ($path, $query) use ($e) { - $urlTxt = CRM_Utils_System::url($path, $query, $e->absolute, $e->fragment, FALSE); + $urlTxt = CRM_Utils_System::url($path, $query, $e->absolute, $e->fragment, FALSE, TRUE); if ($e->isSSL || ($e->isSSL === NULL && \CRM_Utils_System::isSSL())) { $urlTxt = str_replace('http://', 'https://', $urlTxt); }