Author: sevein
Date: Fri Aug 26 12:52:22 2011
New Revision: 9604
Log:
Use Escaping::esc_entities() helper instead of htmlentities, fixes issue 2043
Modified:
trunk/apps/qubit/modules/search/templates/indexSuccess.php
Modified: trunk/apps/qubit/modules/search/templates/indexSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/search/templates/indexSuccess.php Thu Aug 25
16:56:55 2011 (r9603)
+++ trunk/apps/qubit/modules/search/templates/indexSuccess.php Fri Aug 26
12:52:22 2011 (r9604)
@@ -1,7 +1,7 @@
<?php use_helper('Text') ?>
<?php if ($sf_request->query): ?>
- <h1><?php echo __('Search for [%1%]', array('%1%' =>
htmlentities($sf_request->query))) ?></h1>
+ <h1><?php echo __('Search for [%1%]', array('%1%' =>
esc_entities($sf_request->query, ENT_COMPAT, 'UTF-8'))) ?></h1>
<?php endif; ?>
<?php if (isset($error)): ?>
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.