projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74eebfd
)
Block access if no Hash is supplied
author
Seamus Lee
<seamuslee001@gmail.com>
Tue, 22 Jan 2019 19:11:45 +0000
(06:11 +1100)
committer
Tim Otten
<totten@civicrm.org>
Thu, 21 Feb 2019 03:42:19 +0000
(19:42 -0800)
CRM/Core/Page/File.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Page/File.php
b/CRM/Core/Page/File.php
index 9b11dde3bce7fc514074ea71b8c730198a755ec4..06ec2da66ef2bd888964858afd4f19414510487a 100644
(file)
--- a/
CRM/Core/Page/File.php
+++ b/
CRM/Core/Page/File.php
@@
-92,9
+92,6
@@
class CRM_Core_Page_File extends CRM_Core_Page {
* @return bool
*/
public static function validateFileHash($hash, $eid, $fid) {
- if (empty($hash)) {
- return TRUE;
- }
$testHash = CRM_Core_BAO_File::generateFileHash($eid, $fid);
if ($testHash == $hash) {
return TRUE;