On generatePrivateUrl, format "reference" was trying to fetch
nonexistent reference thumbnail instead of the actual reference image
Fix FileProvider bug on generating private url for reference (breaks
xsendfile download)
fix indentation
Fixed indentation to match coding standards
On generatePrivateUrl, format "reference" was trying to fetch
nonexistent reference thumbnail instead of the actual reference image
fix indentation