[Pkg-owncloud-commits] [owncloud] 03/08: Use GET instead of QUERY_STRING

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:09:22 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.0.11
in repository owncloud.

commit 4e2b8349a2f159339c8a1fee949578a1110adb70
Author: Lukas Reschke <lukas at statuscode.ch>
Date:   Sat Jan 19 19:34:36 2013 +0100

    Use GET instead of QUERY_STRING
---
 core/lostpassword/templates/resetpassword.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/lostpassword/templates/resetpassword.php b/core/lostpassword/templates/resetpassword.php
index 56257de..67094e0 100644
--- a/core/lostpassword/templates/resetpassword.php
+++ b/core/lostpassword/templates/resetpassword.php
@@ -1,4 +1,4 @@
-<form action="<?php echo 'resetpassword.php?'.$_SERVER['QUERY_STRING']; ?>" method="post">
+<form action="<?php echo 'resetpassword.php?user='.htmlentities($_GET['user']).'&token='.htmlentities($_GET['token']); ?>" method="post">
 	<fieldset>
 		<?php if($_['success']): ?>
 			<h1><?php echo $l->t('Your password was reset'); ?></h1>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list