Issue #3637039 by guillaumepacilly: redirect document media to the file from a request subscriber instead of hook_media_view()
Closes #3637039