diff --git a/authorize.php b/authorize.php index fdceeba020e703ce5a4903f5f1e1ea58e233a2f9..63a60e27347636b3cbee4ea9113b02b23f4b7a0a 100644 --- a/authorize.php +++ b/authorize.php @@ -113,7 +113,7 @@ function authorize_access_allowed() { } if (isset($_SESSION['authorize_operation']['page_title'])) { - drupal_set_title(check_plain($_SESSION['authorize_operation']['page_title'])); + drupal_set_title($_SESSION['authorize_operation']['page_title']); } else { drupal_set_title(t('Authorize file system changes')); @@ -128,7 +128,7 @@ function authorize_access_allowed() { unset($_SESSION['authorize_filetransfer_info']); if (!empty($results['page_title'])) { - drupal_set_title(check_plain($results['page_title'])); + drupal_set_title($results['page_title']); } if (!empty($results['page_message'])) { drupal_set_message($results['page_message']['message'], $results['page_message']['type']); diff --git a/includes/authorize.inc b/includes/authorize.inc index 927cec719d7685d76615d4da5ad7e2c7dddd3299..5c4d1f0b4b3ea310c49420b647f7b547dfa6750d 100644 --- a/includes/authorize.inc +++ b/includes/authorize.inc @@ -272,7 +272,7 @@ function authorize_run_operation($filetransfer) { unset($_SESSION['authorize_operation']); if (!empty($operation['page_title'])) { - drupal_set_title(check_plain($operation['page_title'])); + drupal_set_title($operation['page_title']); } require_once DRUPAL_ROOT . '/' . $operation['file'];