changed view mode of file viewer downloadable files

changed it so that the file is always downloaded so that opened files do not open in the application context (to prevent possible XSS issues)
This commit is contained in:
vabene1111
2022-05-17 21:27:40 +02:00
parent 7b2117c019
commit 956693b7ca

View File

@@ -14,7 +14,7 @@
<div class="h-20 w-100 border border-primary rounded text-center">
<i class="fas fa-eye-slash fa-2x text-primary mt-2"></i>
<br/>
<a :href="url" target="_blank" rel="noreferrer nofollow" class="mt-4">{{$t('Download')}}</a>
<a :href="url" target="_blank" rel="noreferrer nofollow" class="mt-4" download>{{$t('Download')}}</a>
</div>
</div>