Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(gatsby-plugin-offline): prevent caching invalid relative paths #17406

Merged
merged 1 commit into from
Sep 5, 2019
Merged

fix(gatsby-plugin-offline): prevent caching invalid relative paths #17406

merged 1 commit into from
Sep 5, 2019

Conversation

vtenfys
Copy link
Contributor

@vtenfys vtenfys commented Sep 5, 2019

Description

Check for leading slash in getResourcesForHTML to prevent adding relative URLs to the precache list which cannot be resolved relative to the root directory (e.g. 3rd party resources such as cms.js in Netlify CMS admin)

@vtenfys vtenfys requested a review from a team as a code owner September 5, 2019 09:50
Copy link
Contributor

@sidharthachatterjee sidharthachatterjee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@sidharthachatterjee sidharthachatterjee added the bot: merge on green Gatsbot will merge these PRs automatically when all tests passes label Sep 5, 2019
@gatsbybot gatsbybot merged commit 19ee175 into gatsbyjs:master Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: merge on green Gatsbot will merge these PRs automatically when all tests passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants