
Right now, allow_insecure_derivates can only be set for the entire site. Add a new config so that it can be enabled only for certain styles.
Comment | File | Size | Author |
---|---|---|---|
#29 | 3059836-8.patch | 2.37 KB | shubhangi1995 |
#27 | 3059836-27.patch | 2.38 KB | supreetam09 |
#25 | 3059836-25.patch | 2.3 KB | supreetam09 |
#21 | 3059836-21.patch | 2.3 KB | sanket1007 |
#15 | 3059836-15.patch | 2.32 KB | joshi.rohit100 |
Comments
Comment #2
bibliophileaxeAdding a patch for config and ignoring check on whitelisted image styles.
Comment #3
nikunjkotechaPlease add config default value, config schema (with description about purpose) and a test (if there is one available for existing stuff)
Comment #4
bibliophileaxeAdding a patch against 8.6.x
Comment #5
bibliophileaxeChanging type in schema.
Comment #6
bibliophileaxeUpdating the schema.yml file.
Comment #7
bibliophileaxeFixing a few bugs.
Comment #8
bibliophileaxeCorrecting $config->get
Comment #9
bibliophileaxeComment #10
nikunjkotechaComment #12
piyuesh23 CreditAttribution: piyuesh23 at QED42 commentedPorted this patch to be usable with Drupal 8.7 release.
Comment #13
bibliophileaxeChanged the condition for image derivatives.
Comment #14
bibliophileaxeCorrect condition for image derivative.
Comment #15
joshi.rohit100Patch in #14 is not applying, so re-rolled the patch from #14
Comment #16
johncionci CreditAttribution: johncionci at Oomph, Inc. commentedI have added this patch but can you direct me to where I would go to configure these settings?
Comment #17
nikunjkotecha@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"
Comment #19
bibliophileaxeComment #21
sanket1007 CreditAttribution: sanket1007 commentedComment #25
supreetam09 CreditAttribution: supreetam09 as a volunteer and at Acquia commentedReroll for D9.5.x
Marking NW since needs tests.
Comment #27
supreetam09 CreditAttribution: supreetam09 as a volunteer and at Acquia commentedThe 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+
Comment #29
shubhangi1995Patch as per 10.1.6