mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-09-18 10:21:03 +03:00
support wss:// for web client
Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
@@ -6812,7 +6812,7 @@ mod test {
|
||||
// Cross server from web, whose server is a WebSocket URI.
|
||||
assert!(id_whitelist_allows(
|
||||
&list(&["123456789"]),
|
||||
"123456789@ws://example.com:21118"
|
||||
"123456789@wss://example.com:21118/ws/id"
|
||||
));
|
||||
// A different id is still rejected, suffix or not.
|
||||
assert!(!id_whitelist_allows(
|
||||
|
||||
Reference in New Issue
Block a user