angular/packages/common/http/test
Alan Agius 05fe6686a9 fix(http): prevent XSRF token leakage to protocol-relative URLs
The XSRF interceptor previously failed to detect protocol-relative URLs (starting with `//`) as absolute URLs. This allowed requests to such URLs to include the XSRF token, potentially leaking it to external domains.

This change updates the interceptor to correctly identify protocol-relative URLs as absolute and exclude them from receiving the XSRF token.
2025-11-25 13:57:28 -05:00
..
BUILD.bazel build: migrate common to use rules_js based toolchain (#61434) 2025-05-20 15:08:43 +00:00
client_spec.ts refactor(common): convert scripts within packages/common to relative imports (#60676) 2025-04-01 18:16:49 +00: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 refactor(common): convert scripts within packages/common to relative imports (#60676) 2025-04-01 18:16:49 +00:00
headers_spec.ts refactor(common): convert scripts within packages/common to relative imports (#60676) 2025-04-01 18:16:49 +00:00
jsonp_mock.ts refactor(core): remove TODOs referencing #24571 (#60648) 2025-03-31 20:24:30 +00:00
jsonp_spec.ts refactor(common): convert scripts within packages/common to relative imports (#60676) 2025-04-01 18:16:49 +00:00
module_spec.ts refactor(common): convert scripts within packages/common to relative imports (#60676) 2025-04-01 18:16:49 +00:00
params_spec.ts refactor(common): convert scripts within packages/common to relative imports (#60676) 2025-04-01 18:16:49 +00:00
provider_spec.ts test(common): Add circular deps test to 19.2.x (#61651) 2025-05-23 11:48:32 -07:00
request_spec.ts refactor(common): convert scripts within packages/common to relative imports (#60676) 2025-04-01 18:16:49 +00:00
resource_spec.ts build: move private testing helpers outside platform-browser/testing (#61571) 2025-05-21 16:04:42 +00:00
response_spec.ts refactor(common): convert scripts within packages/common to relative imports (#60676) 2025-04-01 18:16:49 +00:00
transfer_cache_spec.ts build: migrate common to use rules_js based toolchain (#61434) 2025-05-20 15:08:43 +00:00
xhr_mock.ts refactor(common): convert scripts within packages/common to relative imports (#60676) 2025-04-01 18:16:49 +00:00
xhr_spec.ts refactor(common): convert scripts within packages/common to relative imports (#60676) 2025-04-01 18:16:49 +00:00
xsrf_spec.ts fix(http): prevent XSRF token leakage to protocol-relative URLs 2025-11-25 13:57:28 -05:00