-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Permalinks should be able to decode and encode via servers. (#300)
* Permalinks should be able to decode and encode via servers. Previously it was skipping `&via` and just joining `via` when there were more servers. And it also just would not attempt to parse via servers when there was no event id to go with a room. #299 Signed-off-by: gnuxie <[email protected]> * Accurate documentation. * Use encodeURIComponent for Permalink components. * Edge cases in Permalinks. * Test Permalinks are URI encoded but can still decode bodged URIs. * Revert "Use encodeURIComponent for Permalink components." This reverts commit f4e106c. * Revert "Test Permalinks are URI encoded but can still decode bodged URIs." This reverts commit 2f7c724. * Update test/helpers/PermalinksTest.ts --------- Signed-off-by: gnuxie <[email protected]> Co-authored-by: Travis Ralston <[email protected]> Co-authored-by: Travis Ralston <[email protected]>
- Loading branch information
1 parent
b9911ef
commit 8f7ef01
Showing
2 changed files
with
40 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters