mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
20474d3f0f
Previously, the XSRF interceptor only added the XSRF token to requests with relative URLs.
This commit updates the interceptor to also add the token to requests with absolute URLs, provided they match the current origin.
(cherry picked from commit 0659d11c85)