diff options
author | herbrechtsmeier <stefan@herbrechtsmeier.net> | 2013-03-09 11:39:20 +0100 |
---|---|---|
committer | herbrechtsmeier <stefan@herbrechtsmeier.net> | 2013-03-09 11:53:15 +0100 |
commit | ecb9d37b55f5c55545a2c0ec475e22d71bd4dcc8 (patch) | |
tree | b1d5ad56d04d1e343e340177e185454c6b5081f0 /core | |
parent | d4f98923b9be7f3e6805573085bf9fedfaff836c (diff) | |
download | nextcloud-server-ecb9d37b55f5c55545a2c0ec475e22d71bd4dcc8.tar.gz nextcloud-server-ecb9d37b55f5c55545a2c0ec475e22d71bd4dcc8.zip |
request.php: add type check to the not empty check of a string
The not equal comparison (<>) of a variable with an empty string
could lead to false positive results as the compare do not check
the type and thereby could not make sure that the checked variable
is a string. The usage of the not identical comparison operator
(!==) make sure that the variable is a string and not empty.
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions