Mitigate filename-based race conditions

This commit is contained in:
jvoisin 2019-02-22 21:17:48 +01:00
parent 12be535945
commit aee0940b51
3 changed files with 30 additions and 11 deletions

View file

@ -14,7 +14,7 @@ mat2 <b>could not</b> remove all the metadata from your file, those are the rema
</ul>
{%endif %}
</p>
<a class="button button-primary" href='{{ url_for('download_file', filename=filename) }}'>⇩ Download cleaned file</a>
<a class="button button-primary" href='{{ url_for('download_file', key=key, filename=filename) }}'>⇩ Download cleaned file</a>
<hr/>