ticket 342 : sanitize download name
This commit is contained in:
parent
b4b648401b
commit
eaedea3d00
2 changed files with 2 additions and 2 deletions
2
public/js/app.js
vendored
2
public/js/app.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -19,7 +19,7 @@
|
|||
</td>
|
||||
<td class="ctas">
|
||||
<i class="fal fa-copy" v-clipboard="item.url"></i>
|
||||
<a :href="item.url" :download="storeMedia.libelle.replace(' ', '_') + '_' + item.largeur + 'x' + item.hauteur + 'px'"><i class="fas fa-arrow-circle-down"></i></a>
|
||||
<a :href="item.url" :download="storeMedia.libelle.replaceAll(' ', '_').replaceAll('.','') + '_' + item.largeur + 'x' + item.hauteur + 'px'"><i class="fas fa-arrow-circle-down"></i></a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue