mirror of
https://github.com/Luzifer/ots.git
synced 2024-12-23 14:19:36 -05:00
[#35] Encode pipe in secret URL by default
fixes #35 Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
c36cc34805
commit
78a27f304f
File diff suppressed because one or more lines are too long
@ -177,7 +177,13 @@ export default {
|
||||
|
||||
computed: {
|
||||
secretUrl() {
|
||||
return `${window.location.href}#${this.secretId}|${this.securePassword}`
|
||||
return [
|
||||
window.location.href,
|
||||
encodeURIComponent([
|
||||
this.secretId,
|
||||
this.securePassword,
|
||||
].join('|')),
|
||||
].join('#')
|
||||
},
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user