diff --git a/includes/install.core.inc b/includes/install.core.inc index f67d790cac2..3cf90636d7b 100644 --- a/includes/install.core.inc +++ b/includes/install.core.inc @@ -716,7 +716,7 @@ function install_verify_requirements(&$install_state) { if ($install_state['interactive']) { drupal_set_title(st('Requirements problem')); $status_report = theme('status_report', array('requirements' => $requirements)); - $status_report .= st('Check the error messages and proceed with the installation.', array('!url' => request_uri())); + $status_report .= st('Check the error messages and proceed with the installation.', array('!url' => check_url(request_uri()))); return $status_report; } else { diff --git a/includes/theme.maintenance.inc b/includes/theme.maintenance.inc index c7b7ae0a723..1bfffa7ad26 100644 --- a/includes/theme.maintenance.inc +++ b/includes/theme.maintenance.inc @@ -145,7 +145,7 @@ function theme_install_page($variables) { $title = count($messages['error']) > 1 ? st('The following errors must be resolved before you can continue the installation process') : st('The following error must be resolved before you can continue the installation process'); $variables['messages'] .= '

' . $title . ':

'; $variables['messages'] .= theme('status_messages', array('display' => 'error')); - $variables['content'] .= '

' . st('Check the error messages and try again.', array('!url' => request_uri())) . '

'; + $variables['content'] .= '

' . st('Check the error messages and try again.', array('!url' => check_url(request_uri()))) . '

'; } // Special handling of warning messages