Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit e55d352

Browse files
docs(*): update changelog for 1.8.0
1 parent 78ab691 commit e55d352

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
2+
<a name="1.8.0"></a>
3+
# 1.8.0 nested-vaccination (2020-06-01)
4+
5+
## Bug Fixes
6+
- **jqLite:**
7+
- prevent possible XSS due to regex-based HTML replacement
8+
([2df43c](https://github.com/angular/angular.js/commit/2df43c07779137d1bddf7f3b282a1287a8634acd))
9+
10+
## Breaking Changes
11+
12+
### **jqLite** due to:
13+
- **[2df43c](https://github.com/angular/angular.js/commit/2df43c07779137d1bddf7f3b282a1287a8634acd)**: prevent possible XSS due to regex-based HTML replacement
14+
15+
JqLite no longer turns XHTML-like strings like `<div /><span />` to sibling elements `<div></div><span></span>`
16+
when not in XHTML mode. Instead it will leave them as-is. The browser, in non-XHTML mode, will convert these to:
17+
`<div><span></span></div>`.
18+
19+
This is a security fix to avoid an XSS vulnerability if a new jqLite element is created from a user-controlled HTML string.
20+
If you must have this functionality and understand the risk involved then it is posible to restore the original behavior by calling
21+
22+
```js
23+
angular.UNSAFE_restoreLegacyJqLiteXHTMLReplacement();
24+
```
25+
26+
But you should adjust your code for this change and remove your use of this function as soon as possible.
27+
28+
Note that this only patches jqLite. If you use jQuery 3.5.0 or newer, please read the [jQuery 3.5 upgrade guide](https://jquery.com/upgrade-guide/3.5/) for more details about the workarounds.
29+
30+
131
<a name="1.7.9"></a>
232
# 1.7.9 pollution-eradication (2019-11-19)
333

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy