till wrote:
So all I need to do is email myself an attachment and check if using your patch the correct file (with the correct name) is downloaded?
Yes. Main question is: Does link like "http://domain.tld/index.php/file.pdf?blahblah=1" work on any http server?