projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improved entropy for report file urls.
[fa-stable.git]
/
reporting
/
includes
/
pdf_report.inc
diff --git
a/reporting/includes/pdf_report.inc
b/reporting/includes/pdf_report.inc
index 6b9b45c9f637c53b089a3a016eeefae8d93c9984..dd0ae91826016175edd6b3d048f93bc2f1c5bbcc 100644
(file)
--- a/
reporting/includes/pdf_report.inc
+++ b/
reporting/includes/pdf_report.inc
@@
-957,7
+957,7
@@
class FrontReport extends Cpdf
}
// do not use standard filenames or your sensitive company data
// are world readable
- $fname = $dir.'/'.
uniqid(''
).'.pdf';
+ $fname = $dir.'/'.
random_id(
).'.pdf';
$this->Output($fname, 'F');
if ($email == 1)