Skip to content
Snippets Groups Projects
Commit 4210eb01 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Fix some missing html escaping...

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2731 44740490-163a-0410-bde0-09ae8108e29a
parent e39c0f73
No related branches found
No related tags found
No related merge requests found
...@@ -8,9 +8,9 @@ $this->includeAtTemplateBase('includes/header.php'); ...@@ -8,9 +8,9 @@ $this->includeAtTemplateBase('includes/header.php');
<p style="margin-top: 2em"> <p style="margin-top: 2em">
You are now successfully authenticated, and you may click <em>Continue</em> in the application where you initiated authentication. You are now successfully authenticated, and you may click <em>Continue</em> in the application where you initiated authentication.
</p> </p>
<?php if ($this->data['oauth_verifier']) {?> <?php if (!empty($this->data['oauth_verifier'])) {?>
<p> <p>
When asked, the verifier code to finish the procedure, is: <b><?php echo $this->data['oauth_verifier'];?></b>. When asked, the verifier code to finish the procedure, is: <b><?php echo htmlspecialchars($this->data['oauth_verifier']);?></b>.
</p> </p>
<?php } ?> <?php } ?>
......
...@@ -6,10 +6,10 @@ $this->includeAtTemplateBase('includes/header.php'); ...@@ -6,10 +6,10 @@ $this->includeAtTemplateBase('includes/header.php');
?> ?>
<p style="margin-top: 2em"> <p style="margin-top: 2em">
Do you agree to let the application at <b><?php echo $this->data['consumer']['name']?></b> use Foodle on your behalf? Do you agree to let the application at <b><?php echo htmlspecialchars($this->data['consumer']['name'])?></b> use Foodle on your behalf?
</p> </p>
<p> <p>
<a href="<?php echo $this->data['urlAgree']; ?>">Yes I agree</a> | <a href="<?php echo htmlspecialchars($this->data['urlAgree']); ?>">Yes I agree</a> |
<a href="javascript:alert('Please close this browser.');">No, cancel the request.</a> <a href="javascript:alert('Please close this browser.');">No, cancel the request.</a>
</p> </p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment