-
-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tokio console can connect to a console subscriber over HTTP or (on UNIX) via a socket. However, no check was performed to ensure that the server string matched the HTTP(S) or FILE protocols. This was reported to lead to strange behavior (#401). This change adds an explicit check on the URI scheme to ensure that it is one of `http`, `https`, or `file`. closes: #401 Signed-off-by: hi-rustin <[email protected]>
- Loading branch information
1 parent
528a4ca
commit 031bddd
Showing
2 changed files
with
15 additions
and
4 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