- Issue created by @willempje2
- First commit to issue fork.
- Merge request !42Issue #3459262: Webp module allows image styles to be created with false IMAGE_DERIVATIVE_TOKEN updated if condition → (Open) created by dharmeshbarot89
- Status changed to Needs review
5 months ago 1:02pm 5 July 2024 - Status changed to Needs work
4 months ago 4:04pm 13 July 2024 - 🇨🇦Canada mandclu
@dharmeshbarot89 I don't see how the changes in your MR change the logic of checking whether or not the token is actually valid. Also, there are code standards issues.
- 🇨🇦Canada bgilhome Victoria
Like the OP in https://www.drupal.org/project/webp/issues/3437573 🐛 IMAGE_DERIVATIVE_TOKEN ignored? Closed: duplicate I can't understand what the reason for the ImageAPI Optimize block is either. It means that if a non-webp image is requested, image tokens in the query are ignored - as long as the requested image style requires a token, the derivative will be allowed to be generated, regardless of what token value (or none) is passed in the query. This is insecure and seems like a bandaid to some issue that requires a proper fix. Here's a patch to remove that block, should anyone want to use it until such fix is made.
Can anyone provide context on what the issue was that prompted this block?