summaryrefslogtreecommitdiffstats
path: root/settings/templates/oauth.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/templates/oauth.php')
-rw-r--r--settings/templates/oauth.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/templates/oauth.php b/settings/templates/oauth.php
index 053a8aee6d3..34831ba0284 100644
--- a/settings/templates/oauth.php
+++ b/settings/templates/oauth.php
@@ -6,12 +6,12 @@
*/
?>
<div id="oauth-request" class="guest-container">
- <p><strong><?php echo $_['consumer']['name']; ?></strong> is requesting your permission to read, write, modify and delete data from the following apps:</p>
+ <p><strong><?php p($_['consumer']['name']); ?></strong> is requesting your permission to read, write, modify and delete data from the following apps:</p>
<ul>
<?php
// Foreach requested scope
foreach($_['consumer']['scopes'] as $app){
- echo '<li>'.$app.'</li>';
+ print_unescaped('<li>'.OC_Util:sanitzeHTML($app).'</li>)';
}
?>
</ul>