Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Bug 554198 - [p=reed r=ozten]

git-svn-id: https://svn.mozilla.org/projects/plugindir/trunk@64588 4eb1ac78-321c-0410-a911-ec516a8615a5
  • Loading branch information...
commit 646f81daa5671112e6c30b00eb5b495c3d43c18d 1 parent d064e18
reed@reedloden.com authored committed
6 system/views/kohana_error_disabled.php
@@ -6,12 +6,12 @@
6 6 <?php include Kohana::find_file('views', 'kohana_errors', FALSE, 'css') ?>
7 7 </style>
8 8 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
9   -<title><?php echo $error ?></title>
  9 +<title><?php echo html::specialchars($error) ?></title>
10 10 </head>
11 11 <body>
12 12 <div id="framework_error" style="width:24em;margin:50px auto;">
13 13 <h3><?php echo html::specialchars($error) ?></h3>
14   -<p style="text-align:center"><?php echo $message ?></p>
  14 +<p style="text-align:center"><?php echo html::specialchars($message) ?></p>
15 15 </div>
16 16 </body>
17   -</html>
  17 +</html>
6 system/views/kohana_error_page.php
@@ -6,7 +6,7 @@
6 6 <?php include Kohana::find_file('views', 'kohana_errors', FALSE, 'css') ?>
7 7 </style>
8 8 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
9   -<title><?php echo $error ?></title>
  9 +<title><?php echo html::specialchars($error) ?></title>
10 10 <base href="http://php.net/" />
11 11 </head>
12 12 <body>
@@ -16,7 +16,7 @@
16 16 <?php if ( ! empty($line) AND ! empty($file)): ?>
17 17 <p><?php echo Kohana::lang('core.error_file_line', $file, $line) ?></p>
18 18 <?php endif ?>
19   -<p><code class="block"><?php echo $message ?></code></p>
  19 +<p><code class="block"><?php echo html::specialchars($message) ?></code></p>
20 20 <?php if ( ! empty($trace)): ?>
21 21 <h3><?php echo Kohana::lang('core.stack_trace') ?></h3>
22 22 <?php echo $trace ?>
@@ -24,4 +24,4 @@
24 24 <p class="stats"><?php echo Kohana::lang('core.stats_footer') ?></p>
25 25 </div>
26 26 </body>
27   -</html>
  27 +</html>

0 comments on commit 646f81d

Please sign in to comment.
Something went wrong with that request. Please try again.