Fix: Encode data for download
in order to have `#` not break the download as being interpreted as URL hash and therefore ending the data to download Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
a837296b2f
commit
f1fc1a7814
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@
|
|||
<i class="fas fa-fw fa-clipboard" />
|
||||
</b-button>
|
||||
<b-button
|
||||
:href="`data:text/plain;charset=UTF-8,${secret}`"
|
||||
:href="`data:text/plain;charset=UTF-8,${encodeURIComponent(secret)}`"
|
||||
download
|
||||
title="Download Secret as Text File"
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue