E064 — Unsafe markup or parameter name

Copy Markdown View Source

For app developers using the experimental LiveLift compiler.

LiveLift rejects executable markup, forbidden attribute values and unsafe event parameter keys.

Illustrative rejection

<a href="javascript:bad">Open</a>

Illustrative correction

<a href="/items">Open</a>

Use safe URLs and event bindings in LiveView too. Put event logic in a normal server-side handle_event/3 if it needs server access.