mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
eeb03f4ea3
Introduces a maximum length of 256 characters for date format strings. This prevents potential Denial of Service (DoS) attacks by throwing an `INVALID_DATE_FORMAT` error if an excessively long format string is provided to `formatDate` or `DatePipe`, safeguarding against performance degradation or application crashes.
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