From 4aa6c05aa944803c66757d8294a4dfa8f8e642cd Mon Sep 17 00:00:00 2001 From: Leon Klingele Date: Mon, 14 Aug 2017 15:25:01 +0200 Subject: [PATCH] Fix XSS issues by using 'p' instead of 'print_unescaped' --- templates/form.php | 12 ++++++------ templates/message.php | 2 +- templates/register.php | 22 +++++++++++----------- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/templates/form.php b/templates/form.php index 0fdf699..8b392fc 100644 --- a/templates/form.php +++ b/templates/form.php @@ -13,7 +13,7 @@ if ( \OCP\Util::getVersion()[0] >= 12 )

@@ -23,18 +23,18 @@ if ( \OCP\Util::getVersion()[0] >= 12 )

- - + +

- - + +

- + diff --git a/templates/message.php b/templates/message.php index 7813d9f..5b3d60c 100644 --- a/templates/message.php +++ b/templates/message.php @@ -2,5 +2,5 @@ \OCP\Util::addStyle('registration', 'style'); ?> diff --git a/templates/register.php b/templates/register.php index 155ca8e..935b884 100644 --- a/templates/register.php +++ b/templates/register.php @@ -6,22 +6,22 @@ if ($_['entered']): ?>
    -
  • +

- - + +

- +
@@ -30,21 +30,21 @@ if ($_['entered']): ?>

- - + +

- +