You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
<c-slot> slot data accepts c-bind keys that other tags refuse #647
A c-bind key that starts with #c-, or a data-cev-* or x-on:* key, is accepted as slot data on <c-slot>. Component tags, <c-fill> and the built-in tags refuse the same keys.
Slot data stays on the server, so this doesn't reach the browser. It is an inconsistency: the same key is an error in one place and accepted in another. Making <c-slot> refuse it would bring it in line with the other tags.
A related gap with no test yet: _reject_vue_code_from_attrs_hook checks whether a key was already present with key in before, which uses the key's own __eq__ and __hash__. Only extension hooks pass keys there, and extension code is trusted, but a test would pin the behaviour.
Activity