Comments

akanksha-hp created an issue. See original summary.

bibliophileaxe’s picture

Adding a patch for config and ignoring check on whitelisted image styles.

nikunjkotecha’s picture

Status: Active » Needs work

Please add config default value, config schema (with description about purpose) and a test (if there is one available for existing stuff)

bibliophileaxe’s picture

Adding a patch against 8.6.x

bibliophileaxe’s picture

Changing type in schema.

bibliophileaxe’s picture

Updating the schema.yml file.

bibliophileaxe’s picture

Fixing a few bugs.

bibliophileaxe’s picture

Correcting $config->get

bibliophileaxe’s picture

nikunjkotecha’s picture

Status: Needs work » Needs review
Issue tags: +Needs tests

Status: Needs review » Needs work
piyuesh23’s picture

Ported this patch to be usable with Drupal 8.7 release.

bibliophileaxe’s picture

Changed the condition for image derivatives.

bibliophileaxe’s picture

Correct condition for image derivative.

joshi.rohit100’s picture

Status: Needs work » Needs review
StatusFileSize
new2.32 KB

Patch in #14 is not applying, so re-rolled the patch from #14

johncionci’s picture

I have added this patch but can you direct me to where I would go to configure these settings?

nikunjkotecha’s picture

@johncionci there is no interface it (at-least in the patch), you will need to do it using drush

For instance:
drush cset image.settings allowed_insecure_styles.0 "thumbnail"

Version: 8.7.x-dev » 8.8.x-dev

Drupal 8.7.9 was released on November 6 and is the final full bugfix release for the Drupal 8.7.x series. Drupal 8.7.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.8.0 on December 4, 2019. (Drupal 8.8.0-beta1 is available for testing.)

Bug reports should be targeted against the 8.8.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.9.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

bibliophileaxe’s picture

Assigned: bibliophileaxe » Unassigned

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

sanket1007’s picture

StatusFileSize
new2.3 KB

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

supreetam09’s picture

Version: 9.4.x-dev » 9.5.x-dev
Status: Needs review » Needs work
StatusFileSize
new2.3 KB

Reroll for D9.5.x
Marking NW since needs tests.

Version: 9.5.x-dev » 10.1.x-dev

Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

supreetam09’s picture

StatusFileSize
new2.38 KB

The previous 9.5.x patch is not applicable anymore after Drupal 9.5.8 release as ImageStyleDownloadController.php has been changed in this release. Adding new patch for 9.5.8+

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

shubhangi1995’s picture

StatusFileSize
new2.37 KB

Patch as per 10.1.6