Skip to content

Commit e4fcf92

Browse files
docs(CHANGELOG): update with 1.2.30 and 1.2.31 changes
1 parent 7ec663f commit e4fcf92

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

CHANGELOG.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,64 @@
1+
<a name="1.2.31"></a>
2+
# 1.2.31 barking-moustache (2016-10-10)
3+
4+
## Bug Fixes
5+
- **input:** ensure that hidden input values are correct after history back
6+
([7ec663fc](https://github.com/angular/angular.js/commit/7ec663fc708aa7a9a9ce62d2306f24d7a733a86d)
7+
8+
9+
<a name="1.2.30"></a>
10+
# 1.2.30 patronal-resurrection (2016-07-21)
11+
12+
13+
_**Note:** This release contains some security fixes that required breaking changes. Since the
14+
legacy 1.2.x branch is the only version branch that supports IE8, it was necessary to introduce a
15+
couple of low-impact breaking changes in a patch release - something we generally avoid - in order
16+
to make the fixes available to people that still need IE8 support._
17+
18+
## Bug Fixes
19+
20+
- **$compile:**
21+
- secure `link[href]` as a `RESOURCE_URL`s in `$sce`
22+
([f35f334b](https://github.com/angular/angular.js/commit/f35f334bd3197585bdf034f4b6d9ffa3122dac62),
23+
[#14687](https://github.com/angular/angular.js/issues/14687))
24+
- properly sanitize `xlink:href` attribute interpolation
25+
([f2fa1ed8](https://github.com/angular/angular.js/commit/f2fa1ed83d18d4e79a36f8c0db1c2524d762e513),
26+
[2687c261](https://github.com/angular/angular.js/commit/2687c26140585d9e3716f9f559390f5d8d598fdf))
27+
- **ngSanitize:** blacklist the attribute `usemap` as it can be used as a security exploit
28+
([ac0d5286](https://github.com/angular/angular.js/commit/ac0d5286b8931633d774080d6396fb4825d8be33),
29+
[#14903](https://github.com/angular/angular.js/issues/14903))
30+
- **ngAnimate:** do not use event.timeStamp anymore for time tracking
31+
([8d83b563](https://github.com/angular/angular.js/commit/8d83b5633471c847d58f337426fe069797dd49d9),
32+
[#13494](https://github.com/angular/angular.js/issues/13494), [#13495](https://github.com/angular/angular.js/issues/13495))
33+
34+
35+
## Breaking Changes
36+
37+
- **$compile:** due to [f35f334b](https://github.com/angular/angular.js/commit/f35f334bd3197585bdf034f4b6d9ffa3122dac62),
38+
39+
`link[href]` attributes are now protected via `$sce`, which prevents interpolated values that fail
40+
the `RESOURCE_URL` context tests from being used in interpolation. For example if the application is
41+
running at `https://mydomain.org/` then the following will fail:
42+
43+
```html
44+
<link rel="stylesheet" href="{{ 'https://otherdomain.org/unsafe.css' }}" />
45+
```
46+
47+
By default, `RESOURCE_URL` safe URLs are only allowed from the same domain and protocol as the
48+
application document. To use URLs from other domains and/or protocols, you may either whitelist them
49+
using `$sceDelegateProvider.resourceUrlWhitelist(...)` or wrap them into a trusted value by calling
50+
`$sce.trustAsResourceUrl(url)`.
51+
52+
- **ngSanitize:** due to [234053fc](https://github.com/angular/angular.js/commit/234053fc9ad90e0d05be7e8359c6af66be94c094),
53+
54+
The `$sanitize` service will now remove instances of the `usemap` attribute from any elements passed
55+
to it.
56+
57+
This attribute is used to reference another element by `name` or `id`. Since the `name` and `id`
58+
attributes are already blacklisted, a sanitized `usemap` attribute could only reference unsanitized
59+
content, which is a security risk.
60+
61+
162
<a name="1.2.29"></a>
263
# 1.2.29 ultimate-deprecation (2015-09-29)
364

0 commit comments

Comments
 (0)