PWABuilder icon indicating copy to clipboard operation
PWABuilder copied to clipboard

PWABuilder should detect redirect and show warning

Open JudahGabriel opened this issue 5 months ago • 1 comments

Tell us about your feature idea

Related to #4956, when you analyze a URL in PWABuilder, it should detect redirects, issue a warning, and show the analysis for the redirect target.

Repro steps:

  1. Analyze https://microsoftedge.github.io/Demos/wami
  2. Observe that PWABuilder doesn't warn the user that this URL actually redirects to https://microsoftedge.github.io/Demos/wami/ (note the ending slash)
  3. Packaging for Android and Windows can be thrown off because the packaged URL identity is different than the redirected identity.

Do you have an implementation or a solution in mind?

To fix, we should detect if the URL redirects, and if so, show a warning to the user and continue the analysis on the redirected URL.

Have you considered any alternatives?

No response

JudahGabriel avatar Jun 09 '25 20:06 JudahGabriel

This issue has been marked as "needs attention 👋" since it has not been triaged for 7 days. Please triage the issue .

This issue has been marked as "needs attention 👋" since it has not been triaged for 7 days. Please triage the issue .

Thinking about this more, I'm not sure this is possible. Some apps (e.g. apps.microsoft.com) redirect to a locale or region-specific URL. Other apps redirect to a login. Is this really a problem? Resolving for now.

JudahGabriel avatar Aug 27 '25 18:08 JudahGabriel