Skip to main content
zerotal

Documentation


Documentation / @zerotal/flow / index / URL_ATTRIBUTES

Variable: URL_ATTRIBUTES

const URL_ATTRIBUTES: ReadonlySet<string>

Defined in: flow/src/urlSafety.ts:13

Attributes whose value the browser treats as a URL, and will therefore execute if the scheme says to. href and src are the obvious ones; formaction overrides a form's target from a button, and xlink:href is the SVG spelling that filters routinely miss.