diff --git a/lib/Cake/View/Errors/missing_action.ctp b/lib/Cake/View/Errors/missing_action.ctp index 278a0f592..1ef00d72f 100644 --- a/lib/Cake/View/Errors/missing_action.ctp +++ b/lib/Cake/View/Errors/missing_action.ctp @@ -17,20 +17,20 @@ * @license MIT License (http://www.opensource.org/licenses/mit-license.php) */ ?> -

+

: - ' . $action . '', '' . $controller . ''); ?> + ' . h($action) . '', '' . h($controller) . ''); ?>

: - ' . $controller . '::', '' . $action . '()', APP_DIR . DS . 'Controller' . DS . $controller . '.php'); ?> + ' . h($controller) . '::', '' . h($action) . '()', APP_DIR . DS . 'Controller' . DS . h($controller) . '.php'); ?>

 <?php
-class  extends AppController {
+class  extends AppController {
 
 
-	public function () {
+	public function () {
 
 	}
 
diff --git a/lib/Cake/View/Errors/missing_behavior.ctp b/lib/Cake/View/Errors/missing_behavior.ctp
index 697064399..d5735d3e4 100644
--- a/lib/Cake/View/Errors/missing_behavior.ctp
+++ b/lib/Cake/View/Errors/missing_behavior.ctp
@@ -21,15 +21,15 @@ $pluginDot = empty($plugin) ? null : $plugin . '.';
 

: - ' . $pluginDot . $class . ''); ?> + ' . h($pluginDot . $class) . ''); ?>

: - ' . $class . '', (empty($plugin) ? APP_DIR . DS : CakePlugin::path($plugin)) . 'Model' . DS . 'Behavior' . DS . $class . '.php'); ?> + ' . h($class) . '', (empty($plugin) ? APP_DIR . DS : CakePlugin::path($plugin)) . 'Model' . DS . 'Behavior' . DS . h($class) . '.php'); ?>

 <?php
-class  extends ModelBehavior {
+class  extends ModelBehavior {
 
 }
 
diff --git a/lib/Cake/View/Errors/missing_component.ctp b/lib/Cake/View/Errors/missing_component.ctp index 8d124d2c0..4658a7398 100644 --- a/lib/Cake/View/Errors/missing_component.ctp +++ b/lib/Cake/View/Errors/missing_component.ctp @@ -21,15 +21,15 @@ $pluginDot = empty($plugin) ? null : $plugin . '.';

: - ' . $pluginDot . $class . ''); ?> + ' . h($pluginDot . $class) . ''); ?>

: - ' . $class . '', (empty($plugin) ? APP_DIR : CakePlugin::path($plugin)) . DS . 'Controller' . DS . 'Component' . DS . $class . '.php'); ?> + ' . h($class) . '', (empty($plugin) ? APP_DIR : CakePlugin::path($plugin)) . DS . 'Controller' . DS . 'Component' . DS . h($class) . '.php'); ?>

 <?php
-class  extends Component {
+class  extends Component {
 
 }
 
diff --git a/lib/Cake/View/Errors/missing_connection.ctp b/lib/Cake/View/Errors/missing_connection.ctp index cd370297a..c6070abc1 100644 --- a/lib/Cake/View/Errors/missing_connection.ctp +++ b/lib/Cake/View/Errors/missing_connection.ctp @@ -20,18 +20,18 @@

: - +

: - +

diff --git a/lib/Cake/View/Errors/missing_controller.ctp b/lib/Cake/View/Errors/missing_controller.ctp index 83a8e0833..c0687ba7e 100644 --- a/lib/Cake/View/Errors/missing_controller.ctp +++ b/lib/Cake/View/Errors/missing_controller.ctp @@ -21,15 +21,15 @@ $pluginDot = empty($plugin) ? null : $plugin . '.';

: - ' . $pluginDot . $class . ''); ?> + ' . h($pluginDot . $class) . ''); ?>

: - ' . $class . '', (empty($plugin) ? APP_DIR . DS : CakePlugin::path($plugin)) . 'Controller' . DS . $class . '.php'); ?> + ' . h($class) . '', (empty($plugin) ? APP_DIR . DS : CakePlugin::path($plugin)) . 'Controller' . DS . h($class) . '.php'); ?>

 <?php
-class AppController {
+class AppController {
 
 }
 
diff --git a/lib/Cake/View/Errors/missing_datasource.ctp b/lib/Cake/View/Errors/missing_datasource.ctp index c6d712e18..1dab9e10a 100644 --- a/lib/Cake/View/Errors/missing_datasource.ctp +++ b/lib/Cake/View/Errors/missing_datasource.ctp @@ -21,7 +21,7 @@ $pluginDot = empty($plugin) ? null : $plugin . '.';

: - ' . $pluginDot . $class . ''); ?> + ' . h($pluginDot . $class) . ''); ?> diff --git a/lib/Cake/View/Errors/missing_datasource_config.ctp b/lib/Cake/View/Errors/missing_datasource_config.ctp index c6a36a61b..af71b07f2 100644 --- a/lib/Cake/View/Errors/missing_datasource_config.ctp +++ b/lib/Cake/View/Errors/missing_datasource_config.ctp @@ -20,7 +20,7 @@

: - ' . $config . ''); ?> + ' . h($config) . ''); ?>

: diff --git a/lib/Cake/View/Errors/missing_helper.ctp b/lib/Cake/View/Errors/missing_helper.ctp index 273401fcc..739e49340 100644 --- a/lib/Cake/View/Errors/missing_helper.ctp +++ b/lib/Cake/View/Errors/missing_helper.ctp @@ -21,15 +21,15 @@ $pluginDot = empty($plugin) ? null : $plugin . '.';

: - ' . $pluginDot . $class . ''); ?> + ' . h($pluginDot . $class) . ''); ?>

: - ' . $class . '', (empty($plugin) ? APP_DIR . DS : CakePlugin::path($plugin)) . 'View' . DS . 'Helper' . DS . $class . '.php'); ?> + ' . h($class) . '', (empty($plugin) ? APP_DIR . DS : CakePlugin::path($plugin)) . 'View' . DS . 'Helper' . DS . h($class) . '.php'); ?>

 <?php
-class  extends AppHelper {
+class  extends AppHelper {
 
 }
 
diff --git a/lib/Cake/View/Errors/missing_layout.ctp b/lib/Cake/View/Errors/missing_layout.ctp index 6cb0a612f..ef31da63e 100644 --- a/lib/Cake/View/Errors/missing_layout.ctp +++ b/lib/Cake/View/Errors/missing_layout.ctp @@ -20,11 +20,11 @@

: - ' . $file . ''); ?> + ' . h($file) . ''); ?>

: - ' . $file . ''); ?> + ' . h($file) . ''); ?>

: diff --git a/lib/Cake/View/Errors/missing_plugin.ctp b/lib/Cake/View/Errors/missing_plugin.ctp index e2f8e3582..830dec405 100644 --- a/lib/Cake/View/Errors/missing_plugin.ctp +++ b/lib/Cake/View/Errors/missing_plugin.ctp @@ -20,7 +20,7 @@

: - ' . $plugin . ''); ?> + ' . h($plugin) . ''); ?>

: @@ -28,7 +28,7 @@

 <?php
-CakePlugin::load('');
+CakePlugin::load('');
 
 

diff --git a/lib/Cake/View/Errors/missing_table.ctp b/lib/Cake/View/Errors/missing_table.ctp index 119b838e1..5f7545245 100644 --- a/lib/Cake/View/Errors/missing_table.ctp +++ b/lib/Cake/View/Errors/missing_table.ctp @@ -20,7 +20,7 @@

: - ' . $table . '', '' . $class . '', '' . $ds . ''); ?> + ' . h($table) . '', '' . h($class) . '', '' . h($ds) . ''); ?>

: diff --git a/lib/Cake/View/Errors/missing_view.ctp b/lib/Cake/View/Errors/missing_view.ctp index c3660e612..d475da746 100644 --- a/lib/Cake/View/Errors/missing_view.ctp +++ b/lib/Cake/View/Errors/missing_view.ctp @@ -20,11 +20,11 @@

: - ' . Inflector::camelize($this->request->controller) . 'Controller::', '' . $this->request->action . '()'); ?> + ' . h(Inflector::camelize($this->request->controller)) . 'Controller::', '' . h($this->request->action) . '()'); ?>

: - +

: diff --git a/lib/Cake/View/Errors/private_action.ctp b/lib/Cake/View/Errors/private_action.ctp index ae25a579a..d98b50a66 100644 --- a/lib/Cake/View/Errors/private_action.ctp +++ b/lib/Cake/View/Errors/private_action.ctp @@ -20,7 +20,7 @@

: - ' . $controller . '::', '' . $action . '()'); ?> + ' . h($controller) . '::', '' . h($action) . '()'); ?>

: