Sitelet https://github.com/angular/angular-cli/compare/v20.3.20...v20.3.21
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: angular/angular-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v20.3.20
Choose a base ref
...
head repository: angular/angular-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v20.3.21
Choose a head ref
  • 4 commits
  • 7 files changed
  • 1 contributor

Commits on Mar 17, 2026

  1. fix(@angular/ssr): disallow x-forwarded-prefix starting with a backslash

    Updated the INVALID_PREFIX_REGEX to ensure that prefixes starting with a backslash are considered invalid. Previously, only multiple slashes or dot segments were explicitly disallowed at the start.
    
    Also updated the associated validation error message and unit tests to reflect this change.
    alan-agius4 authored and dgp1130 committed Mar 17, 2026
    Configuration menu
    Copy the full SHA
    1dc6992 View commit details
    Browse the repository at this point in the history
  2. fix(@angular/ssr): support custom headers in redirect responses

    Updates createRedirectResponse to accept an optional Record<string, string> of headers, allowing custom headers to be merged into the redirect response. The Location and Vary: X-Forwarded-Prefix headers are automatically set to ensure correct routing and proxy behavior.
    
    AngularServerApp now passes relevant headers from the matched route or response context when creating a redirect.
    alan-agius4 authored and dgp1130 committed Mar 17, 2026
    Configuration menu
    Copy the full SHA
    cdbac82 View commit details
    Browse the repository at this point in the history
  3. fix(@angular/ssr): ensure unique values in redirect response Vary header

    Refactors the `createRedirectResponse` function to use a `Set` for constructing the `Vary` header. This ensures that `X-Forwarded-Prefix` is always present exactly once, and that existing `Vary` values from provided headers are correctly parsed, deduplicated, and preserved.
    
    Updates the associated unit tests to reflect the new header order and verify the deduplication logic.
    alan-agius4 authored and dgp1130 committed Mar 17, 2026
    Configuration menu
    Copy the full SHA
    0a2ff0b View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2026

  1. Configuration menu
    Copy the full SHA
    34d5245 View commit details
    Browse the repository at this point in the history
Loading