Skip to content

Safer content-type checking and warning for images with no header. #4104

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

Merged
merged 1 commit into from
Oct 23, 2019

Conversation

stalgiag
Copy link
Contributor

Related to discussion on the editor repo.

Changes:

Adds console warning for loading images without headers.

Additionally, the content-type check during image loading is now null-safe.

PR Checklist

  • npm run lint passes
  • [Inline documentation] is included / updated
  • [Unit tests] are included / updated
  • [Benchmarks] are included / updated

@stalgiag stalgiag merged commit ab675cd into processing:master Oct 23, 2019
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.

1 participant