Skip to content

Commit c0d4d93

Browse files
committed
Escape new line characters
1 parent 9f2a633 commit c0d4d93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2872,7 +2872,7 @@ You can download the PDF and Epub version of this repository from the latest run
28722872
172. ### Is angular prevents http level vulnerabilities?
28732873
Angular has built-in support for preventing http level vulnerabilities such as as cross-site request forgery (CSRF or XSRF) and cross-site script inclusion (XSSI). Even though these vulnerabilities need to be mitigated on server-side, Angular provides helpers to make the integration easier on the client side.
28742874
1. HttpClient supports a token mechanism used to prevent XSRF attacks
2875-
2. HttpClient library recognizes the convention of prefixed JSON responses(which non-executable js code with ")]}',\n" characters) and automatically strips the string ")]}',\n" from all responses before further parsing
2875+
2. HttpClient library recognizes the convention of prefixed JSON responses(which non-executable js code with ")]}',\\n" characters) and automatically strips the string ")]}',\\n" from all responses before further parsing
28762876
28772877
**[⬆ Back to Top](#table-of-contents)**
28782878

0 commit comments

Comments
 (0)