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

Remove usage of getimagesize #679

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

MKodde
Copy link
Contributor

@MKodde MKodde commented Sep 10, 2024

We can not use the url_fopen portion of the getimagesize function. This is the case when you use getimagesize with a remote file location.

  1. For the ValidLogoValidator: We can exclusively use the curl based validation (already implemented in the CurlLogoValidationHelper
  2. The message sent to Manage does not require a valid with and height to be set, as they will be esteablished on the logo 'cdn'

See: https://www.pivotaltracker.com/n/projects/1400064/stories/186921877

@MKodde MKodde marked this pull request as draft September 10, 2024 12:12
We can not use the url_fopen portion of the getimagesize function. This is
the case when you use getimagesize with a remote file location.

1. For the ValidLogoValidator: We can exclusively use the curl based validation
   (already implemented in the CurlLogoValidationHelper
2. The message sent to Manage does not require a valid with and height
   to be set, as they will be esteablished on the logo 'cdn'

See: https://www.pivotaltracker.com/n/projects/1400064/stories/186921877
@MKodde MKodde force-pushed the feature/logo-metadata-improvement branch from c9759fd to 218d33d Compare September 16, 2024 08:47
@MKodde MKodde marked this pull request as ready for review September 16, 2024 14:13
@MKodde MKodde added the 6.4 label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant