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

Commit 2c3cd81

Browse files
committed
docs(http): add info about unique cookies and XSRF protection on shared domains
Closes #12028
1 parent 41385f0 commit 2c3cd81

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ng/http.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,9 @@ function $HttpProvider() {
699699
* properties of either $httpProvider.defaults at config-time, $http.defaults at run-time,
700700
* or the per-request config object.
701701
*
702+
* In order to prevent collisions in environments where multiple Angular apps share the
703+
* same domain or subdomain, we recommend that each application uses unique cookie name.
704+
*
702705
*
703706
* @param {object} config Object describing the request to be made and how it should be
704707
* processed. The object has following properties:

0 commit comments

Comments
 (0)