Skip to content

Commit

Permalink
docs(http): add info about unique cookies and XSRF protection on shar…
Browse files Browse the repository at this point in the history
…ed domains

Closes angular#12028
  • Loading branch information
IgorMinar committed Jun 5, 2015
1 parent 41385f0 commit 2c3cd81
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ng/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,9 @@ function $HttpProvider() {
* properties of either $httpProvider.defaults at config-time, $http.defaults at run-time,
* or the per-request config object.
*
* In order to prevent collisions in environments where multiple Angular apps share the
* same domain or subdomain, we recommend that each application uses unique cookie name.
*
*
* @param {object} config Object describing the request to be made and how it should be
* processed. The object has following properties:
Expand Down

0 comments on commit 2c3cd81

Please sign in to comment.