The branch, master has been updated via e195d7cb41c2a02c9affcd008cb50efdd167a78e (commit) via 0c16e0fcb5f264da8db3f76e468dbd04543fc9f1 (commit) from ee69f251fdead1f8cbe85bb47eeab7abe77848e0 (commit)
- Log ----------------------------------------------------------------- commit e195d7cb41c2a02c9affcd008cb50efdd167a78e Author: Michal Čihař michal@cihar.com Date: Mon Aug 15 17:35:37 2011 +0200
Escape possible < coming from PMA_formatNumber
commit 0c16e0fcb5f264da8db3f76e468dbd04543fc9f1 Author: Michal Čihař michal@cihar.com Date: Mon Aug 15 17:34:50 2011 +0200
Missing tag
-----------------------------------------------------------------------
Summary of changes: server_status.php | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/server_status.php b/server_status.php index 1695e99..4590812 100644 --- a/server_status.php +++ b/server_status.php @@ -874,6 +874,7 @@ function printQueryStatistics() /* l10n: # = Amount of queries */ echo __('#'); ?> + </th> <th>ø <?php echo __('per hour'); ?></th> <th>%</th> </tr> @@ -899,11 +900,11 @@ function printQueryStatistics() ?> <tr class="<?php echo $odd_row ? 'odd' : 'even'; ?>"> <th class="name"><?php echo htmlspecialchars($name); ?></th> - <td class="value"><?php echo PMA_formatNumber($value, 5, 0, true); ?></td> + <td class="value"><?php echo htmlspecialchars(PMA_formatNumber($value, 5, 0, true)); ?></td> <td class="value"><?php echo - PMA_formatNumber($value * $hour_factor, 4, 1, true); ?></td> + htmlspecialchars(PMA_formatNumber($value * $hour_factor, 4, 1, true)); ?></td> <td class="value"><?php echo - PMA_formatNumber($value * $perc_factor, 0, 2); ?>%</td> + htmlspecialchars(PMA_formatNumber($value * $perc_factor, 0, 2)); ?>%</td> </tr> <?php }
hooks/post-receive