Classifies a meeting/call join URL into its JoinUrlPlatform by hostname — a pure,
dependency-free function. Returns null for an empty/malformed URL or an unrecognised host.
The match is a strict domain-suffix test on the parsed hostname, never a naive substring scan, so
a hostile URL that merely contains a known token in its path or as a deceptive prefix
(https://evil.com/zoom.us/j/123, https://zoom.us.attacker.com/...) does not match the
legitimate platform.
Parameters
url: string
The raw join URL (e.g. 'https://us02web.zoom.us/j/8675309?pwd=abc').
Classifies a meeting/call join URL into its JoinUrlPlatform by hostname — a pure, dependency-free function. Returns
nullfor an empty/malformed URL or an unrecognised host.The match is a strict domain-suffix test on the parsed hostname, never a naive substring scan, so a hostile URL that merely contains a known token in its path or as a deceptive prefix (
https://evil.com/zoom.us/j/123,https://zoom.us.attacker.com/...) does not match the legitimate platform.