[Pkg-owncloud-commits] [owncloud] 291/394: Use GET instead of QUERY_STRING

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


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

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

commit c05c8ab077152ccce23e759cdd364ec0d5db5a71
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