FHIR Chat · Download link · ig publishing requirements

Stream: ig publishing requirements

Topic: Download link


view this post on Zulip Jose Costa Teixeira (Oct 13 2021 at 18:32):

In the profile page in an IG, I encountered the following when downloading the file:
Sometimes (?) the download gets the file name. Sometimes it is just downloaded as "null".
I think it comes from here: https://github.com/HL7/ig-template-base/blob/master/layouts/layout-profile-format.html#L26
where it says
<a href="{{[type]}}-{{[id]}}.{{format}}" download">
it should perhaps say
<a href="{{[type]}}-{{[id]}}.{{format}}" download="{{[type]}}-{{[id]}}.{{format}}">
?

view this post on Zulip Jose Costa Teixeira (Oct 14 2021 at 13:06):

Anyone else suffering from the fact that the downloads sometimes use null as the filename ?
I think the template is following the html spec, so perhaps it's a browser thing, or just Belgian browsers...


Last updated: Apr 12 2022 at 19:14 UTC