-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[server][client] Changes room pattern from :id-:name to :id/:name
Because `-` is allowed in URLs and in names for servers, I was seeing routing issues with rooms that had dashes in their names. I don't have direct control over the Mint router (unless I fork Mint) to change whether it uses eg greedy vs non-greedy matching on routes, so I think the way to avoid this is to change the room patern (this commit) and then URLencode room names (to handle cases where rooms have eg a slash in their name; left for later work)
- Loading branch information
Ryan Prior
committed
Nov 21, 2021
1 parent
fc46bf7
commit 46ff334
Showing
4 changed files
with
7 additions
and
7 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
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