Skip to content

Conversation

@jose-velarde
Copy link
Collaborator

@jose-velarde jose-velarde commented May 27, 2025

fixes

PR Type

  • Feature

Describe the current behavior?

Images described in the manifest are not validated, thus they could not actually exist

Describe the new behavior?

/Report tries to fetch (HEAD request with fallback GET request) images described in the manifest

Additional Information

Format fix was applied to Report/index.ts

@jose-velarde jose-velarde self-assigned this May 27, 2025
@jose-velarde jose-velarde added the enhancement New feature or request label May 27, 2025
@jose-velarde
Copy link
Collaborator Author

Offline feedback received, transitioning to draft PR:

  • add fallback get request to the head requests (in case server does not support head)

@JudahGabriel
Copy link
Collaborator

This looks good, @jose-velarde. Ready to merge?

@jose-velarde
Copy link
Collaborator Author

This looks good, @jose-velarde. Ready to merge?

Yes @JudahGabriel, we're good to merge.

There is also a PR for the app: pwa-builder/PWABuilder#4942, this one is a breaking change so whenever we go to production API should go first and then the app.

@JudahGabriel JudahGabriel merged commit cc75814 into master May 29, 2025
1 of 2 checks passed
@JudahGabriel JudahGabriel deleted the enhancement-4669-verify-manifest-images-exist branch May 29, 2025 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants