You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SSR redirect loop with custom base href (>=20.3.7) #31902
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
20.3.6
Description
In our app, we optionally use the X-Forwarded-Prefix header to configure the base href. This works correctly in version 20.3.6, but after upgrading to 20.3.7 (and in later versions including v21), we encounter a redirect loop when a custom base href is used. The issue does not occur when the default base href is used.
Activity
fix(@angular/ssr): handle `X-Forwarded-Prefix` and `APP_BASE_HREF` in…
fix(@angular/ssr): handle `X-Forwarded-Prefix` and `APP_BASE_HREF` in…
fix(@angular/ssr): handle `X-Forwarded-Prefix` and `APP_BASE_HREF` in…
fix(@angular/ssr): handle `X-Forwarded-Prefix` and `APP_BASE_HREF` in…
fix(@angular/ssr): handle `X-Forwarded-Prefix` and `APP_BASE_HREF` in…
angular-automatic-lock-bot commentedon Dec 25, 2025
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.