mirror of
https://github.com/Luzifer/ots.git
synced 2025-09-19 12:04:45 -04:00
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…
Add table
Add a link
Reference in a new issue