aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/request
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-09-09 21:41:29 +0200
committerAndreas Fischer <bantu@phpbb.com>2012-09-09 21:53:17 +0200
commit238fab3bb908013fb0d7c95278b0a2a3b7fa5bae (patch)
tree92ae35b3ebd26148977b1ff943fe934dec877be5 /phpBB/includes/request
parent73a75fc3d387f8d923186c5c04b1ca7bc6cda4ef (diff)
downloadforums-238fab3bb908013fb0d7c95278b0a2a3b7fa5bae.tar
forums-238fab3bb908013fb0d7c95278b0a2a3b7fa5bae.tar.gz
forums-238fab3bb908013fb0d7c95278b0a2a3b7fa5bae.tar.bz2
forums-238fab3bb908013fb0d7c95278b0a2a3b7fa5bae.tar.xz
forums-238fab3bb908013fb0d7c95278b0a2a3b7fa5bae.zip
[ticket/8713] Update untrimmed_variable() doc block.
PHPBB3-8713
Diffstat (limited to 'phpBB/includes/request')
-rw-r--r--phpBB/includes/request/request.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/request/request.php b/phpBB/includes/request/request.php
index aa62c3b610..a06fc0d85d 100644
--- a/phpBB/includes/request/request.php
+++ b/phpBB/includes/request/request.php
@@ -204,9 +204,9 @@ class phpbb_request implements phpbb_request_interface
}
/**
- * Get a variable, but without trimming strings
- * Same functionality as variable(), except does not run trim() on strings
- * All variables in GET or POST requests should be retrieved through this function to maximise security.
+ * Get a variable, but without trimming strings.
+ * Same functionality as variable(), except does not run trim() on strings.
+ * This method should be used when handling passwords.
*
* @param string|array $var_name The form variable's name from which data shall be retrieved.
* If the value is an array this may be an array of indizes which will give