- Issue created by @penyaskito
When using media_entity_download
, you are allowed to try to force the disposition of the download.
But reverse_proxy_header adds
$event->getRequest()->overrideGlobals();
which will convert any query args like "inline => NULL
" to "inline -> ''(empty string)
".
That will convert any link like media/2/download?inline
to media/2/download?inline=
(see equals), which causes an unnecessary redirect (and might lead to unexpected bugs).
I wonder why this is needed at all, given that we set the values that we need (HTTPS and REMOTE_ADDR).
TBD
TBD
TBD
TBD
TBD
TBD
Active
1.0
Code