Files
angular__angular/packages
Alan Agius db0d4a1a39 fix(compiler): restrict possible event handler check to property names longer than 2 characters
Previously, the compiler disallowed translation of any attribute starting with 'on' for security reasons. This incorrectly disallowed translation of the 'on' attribute itself, which is not an event handler.

This commit introduces `isPossibleEventHandler` to verify that the property name has a length greater than 2 in addition to starting with 'on'. This allows attributes like 'on' to be translated while still correctly disallowing actual event handlers like 'onerror', 'onclick', etc.
2026-07-29 08:51:21 -07:00
..
2025-11-06 10:10:22 -08:00
2025-11-06 10:10:22 -08:00
2025-11-06 10:10:22 -08:00
2025-11-06 10:10:22 -08:00
2025-11-06 10:10:22 -08:00
2025-11-06 10:10:22 -08:00

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT