mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Merge pull request #10366 from hardening/mth_token
[core] also recognize mth:// routing token
This commit is contained in:
@@ -904,8 +904,11 @@ static BOOL nego_read_request_token_or_cookie(rdpNego* nego, wStream* s)
|
||||
{
|
||||
if (memcmp(Stream_ConstPointer(s), "tsv:", 4) != 0)
|
||||
{
|
||||
/* remaining bytes are neither a token nor a cookie */
|
||||
return TRUE;
|
||||
if (memcmp(Stream_ConstPointer(s), "mth://", 6) != 0)
|
||||
{
|
||||
/* remaining bytes are neither a token nor a cookie */
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
isToken = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user