mirror of
https://github.com/Luzifer/ots.git
synced 2024-10-01 01:06:09 -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
@ -255,7 +255,7 @@
|
|||||||
<i class="fas fa-fw fa-clipboard" />
|
<i class="fas fa-fw fa-clipboard" />
|
||||||
</b-button>
|
</b-button>
|
||||||
<b-button
|
<b-button
|
||||||
:href="`data:text/plain;charset=UTF-8,${secret}`"
|
:href="`data:text/plain;charset=UTF-8,${encodeURIComponent(secret)}`"
|
||||||
download
|
download
|
||||||
title="Download Secret as Text File"
|
title="Download Secret as Text File"
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user