angular/packages/common/http/test
Alan Agius 0659d11c85
fix(http): enable XSRF protection for same-origin absolute URLs
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.
2025-12-03 12:19:43 +01:00
..
BUILD.bazel fix(http): enable XSRF protection for same-origin absolute URLs 2025-12-03 12:19:43 +01:00
client_spec.ts feat(http): add support for fetch referrerPolicy option in HttpClient (#64116) 2025-10-07 20:45:34 -04:00
context_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
fetch_spec.ts feat(http): add support for fetch referrerPolicy option in HttpClient (#64116) 2025-10-07 20:45:34 -04:00
headers_spec.ts refactor(common): convert scripts within packages/common to relative imports (#60623) 2025-04-01 15:58:51 +00:00
jsonp_mock.ts refactor(core): remove TODOs referencing #24571 (#60648) 2025-03-31 20:24:29 +00:00
jsonp_spec.ts refactor(common): convert scripts within packages/common to relative imports (#60623) 2025-04-01 15:58:51 +00:00
module_spec.ts refactor(common): convert scripts within packages/common to relative imports (#60623) 2025-04-01 15:58:51 +00:00
params_spec.ts refactor(common): convert scripts within packages/common to relative imports (#60623) 2025-04-01 15:58:51 +00:00
provider_spec.ts feat(http): Provide http services in root (#56212) 2025-08-14 13:04:35 +02:00
request_spec.ts feat(http): add support for fetch referrerPolicy option in HttpClient (#64116) 2025-10-07 20:45:34 -04:00
resource_spec.ts feat(http): add referrerPolicy option to HttpResource (#64283) 2025-10-13 10:00:27 -07:00
response_spec.ts feat(http): Add reponseType property to HttpResponse and HttpErrorResponse (#63043) 2025-08-28 08:34:56 -07:00
transfer_cache_spec.ts refactor: remove TODOs which have been corrected (#63421) 2025-08-27 11:23:57 -07:00
xhr_mock.ts feat(http): Add timeout option to HTTP requests (#57194) 2025-06-27 09:56:25 +00:00
xhr_spec.ts refactor(http): add hooks for propagating traces across XHR callbacks. 2025-10-28 15:08:57 +01:00
xsrf_spec.ts fix(http): enable XSRF protection for same-origin absolute URLs 2025-12-03 12:19:43 +01:00