Updates `cypress-io/github-action` from v6.10.2 to v7.4.6 (matching `main` and `22.2.x`) so URL polling uses `got@16` instead of `got@11`, fixing `ERR_SOCKET_CLOSED_BEFORE_CONNECTION` on Node.js 24.20+ GitHub Actions runners.
Previously, a downgraded component compiled whatever its element contained when the component was created. By then, AngularJS could already have linked or written content into the element, for example through `ng-transclude` or `ng-bind` on it, and that content was compiled again.
The i18n sub-system has the `changeMask` and `changeMaskCounter` flags which are set by i18n-related instructions and reset once the state is applied. The problem is that if something throws within the application logic, the flags would never be reset. This is currently causing flakes in our CI runs.
These changes resolve the issue by adding a try/finally around the flags.
(cherry picked from commit 6339d264eb)
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.
Fixes#71294
(cherry picked from commit 0659d11c85)
Previously, empty-path outlet groups in a request URL (such as `x:/(detail:2)`,
`///(detail:2)`, or `x:/()`) were allowed to match without a corresponding
route for that outlet name in the route configuration:
1. `processChildren` called `processSegmentGroup` for each child outlet,
which immediately delegated any zero-segment group with children back to
`processChildren` against the same parent `config` and `parentRoute`
without matching a route. Calling `processSegment` directly in
`processChildren` ensures only the root `UrlSegmentGroup` short-circuits
to `processChildren`.
2. `processSegmentAgainstRoute` allowed named outlets to pierce empty-path
routes for other outlets even when the route had no children to pierce into
or the URL segment group had no segments or children to pierce with.
3. `matchSegmentAgainstRoute` branched into `processChildren` or returned a
completed leaf match before `getOutlet(route) === outlet` was satisfied,
and did not require a descendant `TreeNode` match when piercing an
empty-path route for a different outlet.
4. `noLeftoversInUrl` only checked `!segmentGroup.children[outlet]` rather
than `!segmentGroup.hasChildren()`, allowing unmatched zero-segment outlet
groups with child outlets for other names to be treated as having no
leftovers instead of throwing `NoMatch`.
Together, these allowed crafted URLs with unconfigured zero-segment outlet
groups to fan out across empty-path routes (#70932) or repeatedly evaluate
guards and construct duplicate route snapshot subtrees across sibling outlets
(#70997). Requiring every child segment group to match a route for its outlet
before unwrapping children or completing a match prevents the invalid matches
at the source.
Fixes#70932Fixes#70997
Previously, resolveUrl only checked whether the raw URL string started with '//' before WHATWG URL resolution. When given an input such as '/.//evil.test', WHATWG dot-segment normalization popped the leading '/.', leaving a pathname starting with '//'. This corrupted ServerPlatformLocation and led to protocol-relative open redirects in SSR.
Now, resolveUrl also verifies that the normalized URL pathname does not start with '//' when allowProtocolRelative is false.
Fixes#71076
A URL group that consumes no segments is matched against the same config as
its parent, so a route can match once for every group the URL nests. Every
match lands in one sibling list, which the router cannot activate because
only one of them can own the outlet.
The check that rejects this ran only in development, and never covered the
siblings `mergeEmptyPathMatches` produces. Run it on every list the merge
returns instead.
Fixes#70997
An empty path route matches once for every outlet a URL names, so recognition copied the query params and the inherited params into as many snapshots as the URL asked for, at the width the URL chose. Share the frozen objects instead.
Fixes#70932
Keep numeric URL keys in V8 dictionary storage while parsing URLs and
copying segment groups. This avoids oversized allocations for each
segment without changing route matching or component input binding.
Fixes#70716
Prevent arbitrary MetaDefinition properties from writing on* handlers directly to meta elements. Browser events can execute these handlers, including on meta elements rendered in the document body.
Reject handler attributes case-insensitively before matching or mutating tags.
Fixes#70126
Represent withRequestsMadeViaParent() with an internal delegating backend so the interceptor handler can distinguish delegated clients from independent child configurations.
Normalize value-specific HttpHeaders deletions before filtering. The string overload previously used String#indexOf and removed shorter values contained within the requested deletion value, potentially widening outgoing request metadata.
Preserve delete-all behavior only when no value is supplied, and cover string, array, and empty-string deletion.
Prevent lazy HttpHeaders and HttpParams clones from reusing value arrays owned by a materialized source. Append and value-specific delete operations previously mutated those shared arrays, violating the immutable API contract and allowing request metadata to bleed into later requests.
Share value arrays until an update mutates a specific header or parameter, then copy only that array. Cover the affected append and delete paths with regression tests that materialize the source first.