[ticket/8713] Update untrimmed_variable() doc block.

PHPBB3-8713
This commit is contained in:
Andreas Fischer 2012-09-09 21:41:29 +02:00
parent 73a75fc3d3
commit 238fab3bb9

View file

@ -204,9 +204,9 @@ class phpbb_request implements phpbb_request_interface
} }
/** /**
* Get a variable, but without trimming strings * Get a variable, but without trimming strings.
* Same functionality as variable(), except does not run trim() on 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. * This method should be used when handling passwords.
* *
* @param string|array $var_name The form variable's name from which data shall be retrieved. * @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 * If the value is an array this may be an array of indizes which will give