summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-05-28 12:56:56 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-05-28 12:56:56 +0200
commit53da328aa18038d24738adb28d88ff0e63f2bc20 (patch)
tree8099b97d67b4b2c0dba6858ad05a7202304edfd3 /apps
parent8bd6d862b8bcdafa136ed944ccc85b565cffdee7 (diff)
downloadnextcloud-server-53da328aa18038d24738adb28d88ff0e63f2bc20.tar.gz
nextcloud-server-53da328aa18038d24738adb28d88ff0e63f2bc20.zip
Contacts: Double check XSS.
Diffstat (limited to 'apps')
-rw-r--r--apps/contacts/templates/part.contacts.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/templates/part.contacts.php b/apps/contacts/templates/part.contacts.php
index 00a61f72fdd..57517505405 100644
--- a/apps/contacts/templates/part.contacts.php
+++ b/apps/contacts/templates/part.contacts.php
@@ -8,5 +8,5 @@
}
}
?>
- <li role="button" book-id="<?php echo $contact['addressbookid']; ?>" data-id="<?php echo $contact['id']; ?>"><a href="index.php?id=<?php echo $contact['id']; ?>"><?php echo $display; ?></a></li>
+ <li role="button" book-id="<?php echo $contact['addressbookid']; ?>" data-id="<?php echo $contact['id']; ?>"><a href="index.php?id=<?php echo $contact['id']; ?>"><?php echo htmlspecialchars($display); ?></a></li>
<?php endforeach; ?>