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: fail config persistence if preview webhook url is not valid #570

Merged
merged 2 commits into from
Oct 29, 2021

Conversation

veryspry
Copy link
Contributor

We are not validating the previewWebhookUrl if it has been added to the Gatsby app config. This means that the user could enter any old string and successfully save. We want to ensure that only valid urls are added to ensure a good user experience.

@veryspry veryspry requested a review from a team as a code owner October 28, 2021 16:09
Copy link
Contributor

@Jwhiles Jwhiles left a comment

Choose a reason for hiding this comment

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

Looks good! Will merge in the morning Berlin time

@Jwhiles Jwhiles merged commit f6e7ec6 into contentful:master Oct 29, 2021
@veryspry veryspry deleted the veryspry/fix-config-validation branch October 29, 2021 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants