forked from mystiq/hydrogen-web
encode url components
This commit is contained in:
parent
b578f4ac84
commit
1ea4a347e2
1 changed files with 2 additions and 2 deletions
|
@ -35,11 +35,11 @@ export class BaseMessageTile extends SimpleTile {
|
|||
}
|
||||
|
||||
get permaLink() {
|
||||
return `https://matrix.to/#/${this._room.id}/${this._entry.id}`;
|
||||
return `https://matrix.to/#/${encodeURIComponent(this._room.id)}/${encodeURIComponent(this._entry.id)}`;
|
||||
}
|
||||
|
||||
get senderProfileLink() {
|
||||
return `https://matrix.to/#/${this.sender}`;
|
||||
return `https://matrix.to/#/${encodeURIComponent(this.sender)}`;
|
||||
}
|
||||
|
||||
get displayName() {
|
||||
|
|
Loading…
Reference in a new issue