Security
Parsed URL policy
Compare parsed protocol, origin and permitted paths against a trusted policy.
Formal Syntax & Structure
react syntaxreact
new URL(value, trustedBase)Working Example
Example Snippetreact
new URL(value, trustedBase)Compare parsed protocol, origin and permitted paths against a trusted policy.
new URL(value, trustedBase)new URL(value, trustedBase)