summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-12-08 08:28:15 +0100
committerLukas Reschke <lukas@owncloud.com>2015-12-08 08:56:47 +0100
commit4b293dffe56ac452ed3bdadb3dd094e667ecfb2d (patch)
tree98aca3c33393a4edd417d1c61484673c9a587660 /core/templates
parent70c228a7cc31c6193bdd1c2f18a75dffe08785b8 (diff)
downloadnextcloud-server-4b293dffe56ac452ed3bdadb3dd094e667ecfb2d.tar.gz
nextcloud-server-4b293dffe56ac452ed3bdadb3dd094e667ecfb2d.zip
Use \OCP\Util::sanitizeHTML instead of \OC_Util::sanitizeHTML
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/login.php b/core/templates/login.php
index 7b09d4fac95..e87b871c67e 100644
--- a/core/templates/login.php
+++ b/core/templates/login.php
@@ -12,7 +12,7 @@ script('core', [
<form method="post" name="login">
<fieldset>
<?php if (!empty($_['redirect_url'])) {
- print_unescaped('<input type="hidden" name="redirect_url" value="' . OC_Util::sanitizeHTML($_['redirect_url']) . '">');
+ print_unescaped('<input type="hidden" name="redirect_url" value="' . \OCP\Util::sanitizeHTML($_['redirect_url']) . '">');
} ?>
<?php if (isset($_['apacheauthfailed']) && ($_['apacheauthfailed'])): ?>
<div class="warning">