summaryrefslogtreecommitdiff
path: root/modules/rest/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-01-28 07:44:58 -0800
committerTim Almdal <tnalmdal@shaw.ca>2010-01-28 07:44:58 -0800
commitcedbc82dccaf74a983f1f92846735b69391fdf10 (patch)
tree22e39f1f74d9ab6bbc6a2f4292f504b76109deea /modules/rest/views
parentbbe70119ef99e77a57dbc5354bc348c7adaece46 (diff)
Do all the html::clean|purify calls in the views and not the controller. Also clean the subject line and email message body of the contact user email.
Diffstat (limited to 'modules/rest/views')
-rw-r--r--modules/rest/views/user_profile_rest.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rest/views/user_profile_rest.html.php b/modules/rest/views/user_profile_rest.html.php
index 3807817e..397afa89 100644
--- a/modules/rest/views/user_profile_rest.html.php
+++ b/modules/rest/views/user_profile_rest.html.php
@@ -2,7 +2,7 @@
<div id="g-rest-detail">
<ul>
<li id="g-rest-key">
- <p><b><?= t("Key") ?></b>:<?= $rest_key ?></p>
+ <p><b><?= t("Key") ?></b>:<?= html::clean($rest_key) ?></p>
</li>
</ul>
</div>