When webform is submit, user can download an .exe executable file. The path file is configured in the redirect_url field of webform page settings.
But under Internet Explorer (only check IE8), file is downloaded without extension.
It seems IE removed extension when there are arguments after .exe extension. Example : http://myssite.com/system/files/myfile.exe?sid=429
Webform always add ?sid=xxx at the end of the redirect_url, so i make a patch to not add arguments after .exe files
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | webform_redirect_url_exe-1191468-0.patch | 659 bytes | goz |
Comments
Comment #1
goz commentedHere is the patch
Comment #2
quicksketchWhile the patch provided would definitely do the job for exe files, we need a more general approach that will work for all extension types.
Comment #3
quicksketchClosing after lack of activity. This problem could also be solved by setting appropriate headers on the .exe file when it's downloaded i.e.
Content-Disposition: attachment; filename="myfile.exe".