We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fa3245 commit f102bd3Copy full SHA for f102bd3
src/app/code/community/Zendesk/Zendesk/controllers/Adminhtml/ZendeskController.php
@@ -417,9 +417,9 @@ public function autocompleteAction()
417
$output = '<ul>';
418
if($customers->getSize()) {
419
foreach($customers as $customer) {
420
- $id = $customer->getId();
421
- $name = $customer->getName();
422
- $email = $customer->getEmail();
+ $id = htmlspecialchars($customer->getId(), ENT_COMPAT, 'UTF-8');
+ $name = htmlspecialchars($customer->getName(), ENT_COMPAT, 'UTF-8');
+ $email = htmlspecialchars($customer->getEmail(), ENT_COMPAT, 'UTF-8');
423
$output .= '<li id="customer-' . $id . '" data-email="' . $email . '" data-name="' . $name . '">' . $name . ' <' . $email . '></li>';
424
}
425
0 commit comments