[#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
2 changed files with 8 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
@ -177,7 +177,13 @@ export default {
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
secretUrl() {
|
secretUrl() {
|
||||||
return `${window.location.href}#${this.secretId}|${this.securePassword}`
|
return [
|
||||||
|
window.location.href,
|
||||||
|
encodeURIComponent([
|
||||||
|
this.secretId,
|
||||||
|
this.securePassword,
|
||||||
|
].join('|')),
|
||||||
|
].join('#')
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue