René's URL Explorer Experiment


Title: fix(@angular/build): handle redirects from guards during prerendering by alan-agius4 · Pull Request #31619 · angular/angular-cli · GitHub

Open Graph Title: fix(@angular/build): handle redirects from guards during prerendering by alan-agius4 · Pull Request #31619 · angular/angular-cli

X Title: fix(@angular/build): handle redirects from guards during prerendering by alan-agius4 · Pull Request #31619 · angular/angular-cli

Description: During prerendering, if a route returns a redirect, a static HTML page with a meta refresh tag is generated to redirect the user to the specified URL. This now includes support for redirects returned from route guards. Closes #31618

Open Graph Description: During prerendering, if a route returns a redirect, a static HTML page with a meta refresh tag is generated to redirect the user to the specified URL. This now includes support for redirects return...

X Description: During prerendering, if a route returns a redirect, a static HTML page with a meta refresh tag is generated to redirect the user to the specified URL. This now includes support for redirects return...

Opengraph URL: https://github.com/angular/angular-cli/pull/31619

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c2a5a839-5956-4e31-c23b-6cb232dfeac1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9648:307369:388617:4EC689:6AFDE223
html-safe-nonce4639598e52f8b84cd6d5a74fafa1fca7555eebe838c89f0e2e7225b7304ac41b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjQ4OjMwNzM2OTozODg2MTc6NEVDNjg5OjZBRkRFMjIzIiwidmlzaXRvcl9pZCI6IjQxMjY4OTczNjM0MTc0MjQ0MTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfbc2bc0e3b85b49ab68fb985248fcc07118ccb10137e01aa2295cdb2ecd28013
hovercard-subject-tagpull_request:2955175194
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/angular/angular-cli/pull/31619/files
twitter:imagehttps://avatars.githubusercontent.com/u/17563226?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/17563226?s=400&v=4
og:image:altDuring prerendering, if a route returns a redirect, a static HTML page with a meta refresh tag is generated to redirect the user to the specified URL. This now includes support for redirects return...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None90d7884679efe0f89b35e0eef84213a75179f38d11a62f2a0af551bbe5110799
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release89e3d4b2f59ef440fc496c853aee1d9a06a137d6
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angular-cli/pull/31619/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fpull%2F31619%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fpull%2F31619%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/pull/31619/files
Reloadhttps://github.com/angular/angular-cli/pull/31619/files
Reloadhttps://github.com/angular/angular-cli/pull/31619/files
angularhttps://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Codehttps://github.com/angular/angular-cli
Issues196 (196)https://github.com/angular/angular-cli/issues
Pull requests20 (20)https://github.com/angular/angular-cli/pulls
Actionshttps://github.com/angular/angular-cli/actions
Security and quality8 (8)https://github.com/angular/angular-cli/security
Insightshttps://github.com/angular/angular-cli/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fangular%2Fangular-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fangular%2Fangular-cli%2Fissues%2Fnew%2Fchoose
alan-agius4https://github.com/alan-agius4
angular:mainhttps://github.com/angular/angular-cli/tree/main
alan-agius4:redirecthttps://github.com/alan-agius4/angular-cli/tree/redirect
Conversation 2 https://github.com/angular/angular-cli/pull/31619
Commits 1 https://github.com/angular/angular-cli/pull/31619/commits
Checks 0 https://github.com/angular/angular-cli/pull/31619/checks
Files changed https://github.com/angular/angular-cli/pull/31619/files
Please reload this pagehttps://github.com/angular/angular-cli/pull/31619/files
fix(@angular/build): handle redirects from guards during prerendering https://github.com/angular/angular-cli/pull/31619/files#top
Show all changes 1 commit https://github.com/angular/angular-cli/pull/31619/files
f7157d1 fix(@angular/build): handle redirects from guards during prerendering alan-agius4 Oct 28, 2025 https://github.com/angular/angular-cli/pull/31619/commits/f7157d10a45f3661d8afb4cbc8be72034d7f9c4a
Clear filters https://github.com/angular/angular-cli/pull/31619/files
Please reload this pagehttps://github.com/angular/angular-cli/pull/31619/files
Please reload this pagehttps://github.com/angular/angular-cli/pull/31619/files
prerender.ts https://github.com/angular/angular-cli/pull/31619/files#diff-eebae2605918b70b406f13c94c8645f0a57cdda92502704e0dece31a5e15fcc0
render-worker.ts https://github.com/angular/angular-cli/pull/31619/files#diff-586a0da7bd3a383f11c423f21271bd1d6967b0c6bca8bd1f72ee80a26fb70e05
utils.ts https://github.com/angular/angular-cli/pull/31619/files#diff-fb9ee090bd726671ed8afedd10199b0a43cd8a7f0ff336cb40346e357ae86018
server-routes-output-mode-static.ts https://github.com/angular/angular-cli/pull/31619/files#diff-b180d87082c4222a1e032cbf979c75b3b9a6687e56f4e35199ba2fb5c9bd52f5
packages/angular/build/src/utils/server-rendering/prerender.tshttps://github.com/angular/angular-cli/pull/31619/files#diff-eebae2605918b70b406f13c94c8645f0a57cdda92502704e0dece31a5e15fcc0
View file https://github.com/alan-agius4/angular-cli/blob/f7157d10a45f3661d8afb4cbc8be72034d7f9c4a/packages/angular/build/src/utils/server-rendering/prerender.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular-cli/pull/31619/{{ revealButtonHref }}
https://github.com/angular/angular-cli/pull/31619/files#diff-eebae2605918b70b406f13c94c8645f0a57cdda92502704e0dece31a5e15fcc0
https://github.com/angular/angular-cli/pull/31619/files#diff-eebae2605918b70b406f13c94c8645f0a57cdda92502704e0dece31a5e15fcc0
https://github.com/angular/angular-cli/pull/31619/files#diff-eebae2605918b70b406f13c94c8645f0a57cdda92502704e0dece31a5e15fcc0
packages/angular/build/src/utils/server-rendering/render-worker.tshttps://github.com/angular/angular-cli/pull/31619/files#diff-586a0da7bd3a383f11c423f21271bd1d6967b0c6bca8bd1f72ee80a26fb70e05
View file https://github.com/alan-agius4/angular-cli/blob/f7157d10a45f3661d8afb4cbc8be72034d7f9c4a/packages/angular/build/src/utils/server-rendering/render-worker.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular-cli/pull/31619/{{ revealButtonHref }}
https://github.com/angular/angular-cli/pull/31619/files#diff-586a0da7bd3a383f11c423f21271bd1d6967b0c6bca8bd1f72ee80a26fb70e05
https://github.com/angular/angular-cli/pull/31619/files#diff-586a0da7bd3a383f11c423f21271bd1d6967b0c6bca8bd1f72ee80a26fb70e05
https://github.com/angular/angular-cli/pull/31619/files#diff-586a0da7bd3a383f11c423f21271bd1d6967b0c6bca8bd1f72ee80a26fb70e05
https://github.com/angular/angular-cli/pull/31619/files#diff-586a0da7bd3a383f11c423f21271bd1d6967b0c6bca8bd1f72ee80a26fb70e05
packages/angular/build/src/utils/server-rendering/utils.tshttps://github.com/angular/angular-cli/pull/31619/files#diff-fb9ee090bd726671ed8afedd10199b0a43cd8a7f0ff336cb40346e357ae86018
View file https://github.com/alan-agius4/angular-cli/blob/f7157d10a45f3661d8afb4cbc8be72034d7f9c4a/packages/angular/build/src/utils/server-rendering/utils.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular-cli/pull/31619/{{ revealButtonHref }}
https://github.com/angular/angular-cli/pull/31619/files#diff-fb9ee090bd726671ed8afedd10199b0a43cd8a7f0ff336cb40346e357ae86018
tests/legacy-cli/e2e/tests/build/server-rendering/server-routes-output-mode-static.tshttps://github.com/angular/angular-cli/pull/31619/files#diff-b180d87082c4222a1e032cbf979c75b3b9a6687e56f4e35199ba2fb5c9bd52f5
View file https://github.com/alan-agius4/angular-cli/blob/f7157d10a45f3661d8afb4cbc8be72034d7f9c4a/tests/legacy-cli/e2e/tests/build/server-rendering/server-routes-output-mode-static.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular-cli/pull/31619/{{ revealButtonHref }}
https://github.com/angular/angular-cli/pull/31619/files#diff-b180d87082c4222a1e032cbf979c75b3b9a6687e56f4e35199ba2fb5c9bd52f5
https://github.com/angular/angular-cli/pull/31619/files#diff-b180d87082c4222a1e032cbf979c75b3b9a6687e56f4e35199ba2fb5c9bd52f5
https://github.com/angular/angular-cli/pull/31619/files#diff-b180d87082c4222a1e032cbf979c75b3b9a6687e56f4e35199ba2fb5c9bd52f5
https://github.com/angular/angular-cli/pull/31619/files#diff-b180d87082c4222a1e032cbf979c75b3b9a6687e56f4e35199ba2fb5c9bd52f5
https://github.com/angular/angular-cli/pull/31619/files#diff-b180d87082c4222a1e032cbf979c75b3b9a6687e56f4e35199ba2fb5c9bd52f5
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.