Fix escaping in action error URL (#27273)
This URL is generated on the client (there's an equivalent but shorter SSR version too) when a function is used as an action. It should never happen but it'll be invoked if a form is manually submitted or event is stopped early. The `'` wasn't escaped so this yielded invalid syntax. Which is an error too but much less helpful. `missing ) after argument list`. Added a test that evals to make sure it's correct syntax.
S
Sebastian Markbåge committed
856dc5e43352454b1d06c13e233d565ceda77e61
Parent: 31034b6
Committed by GitHub <[email protected]>
on 8/22/2023, 11:10:00 PM