website
website copied to clipboard
"Download openHAB 4.0.0 SNAPSHOT Add-ons" suggests wrong name
Under download select the following
Then click on
Filename has the wrong extension "mid" instead of "kar"
Are you sure that your browser isn't doing any fancy stuff?
When I click this button, it is correctly downloading the kar (with this name):
The link shows the same for me but in the dialog it changes to .mid.
Are you sure that your browser isn't doing any fancy stuff?
That's absolutely possible. I am using the latest Firefox on Win10.
I do download the snapshots quite often and every time I manually edit the suffix in the dialog yet it pops up again with .mid.
Would it be possible to use the download attribute for the link? That way the filename could be explicitly passed to the browser.
If not and if I am the only one who is having this behavior this issue can be closed.
I have created https://github.com/openhab/website/pull/407 for it. You can test on https://deploy-preview-407--openhab.netlify.app/download/ whether this resolves the issue for you.
After the download there has to be a "=" with the filename - I've left a comment.
I will take care of the naming part, when #407 has been merged.
@Confectrician Thanks a lot - go for it!