Merge remote-tracking branch 'weierophinney/hotfix/beta5-escaper'
authorRob Allen <rob@akrabat.com>
Thu, 5 Jul 2012 21:35:21 +0000 (22:35 +0100)
committerRob Allen <rob@akrabat.com>
Thu, 5 Jul 2012 21:35:21 +0000 (22:35 +0100)
module/Application/view/error/404.phtml

index f3e4eba..58be921 100644 (file)
@@ -32,13 +32,13 @@ switch ($this->reason) {
 
 <dl>
     <dt>Controller:</dt>
-    <dd><?php echo $this->escape($this->controller) ?>
+    <dd><?php echo $this->escapeHtml($this->controller) ?>
 <?php
 if (isset($this->controller_class) 
     && $this->controller_class
     && $this->controller_class != $this->controller
 ) {
-    echo " (resolves to " . $this->escape($this->controller_class) . ")";
+    echo " (resolves to " . $this->escapeHtml($this->controller_class) . ")";
 }
 ?>
 </dd>
@@ -50,7 +50,7 @@ if (isset($this->controller_class)
 
 <h2>Exception:</h2>
 
-<p><b><?php echo $this->escape($this->exception->getMessage()) ?></b></p>
+<p><b><?php echo $this->escapeHtml($this->exception->getMessage()) ?></b></p>
 
 <h3>Stack trace</h3>