wp-rocket icon indicating copy to clipboard operation
wp-rocket copied to clipboard

Closes 5382: Excluded url with extensions

Open CrochetFeve0251 opened this issue 2 years ago • 0 comments

Description

Fix a problem due to extensions URLs blocked in in-progress when they are added to the preload table.

For that we guarded the create_or_nothing and the create_or_update from Cache class against urls with file extensions.

Fixes #5382

Type of change

  • [ ] Enhancement (non-breaking change which improves an existing functionality)

Is the solution different from the one proposed during the grooming?

Please describe in this section if there is any change to the solution, and why.

How Has This Been Tested?

  • [ ] Automated Tests

Checklist:

  • [ ] My code follows the style guidelines of this project
  • [ ] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] My changes generate no new warnings
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] New and existing unit tests pass locally with my changes
  • [ ] Any dependent changes have been merged and published in downstream modules

CrochetFeve0251 avatar Sep 14 '22 09:09 CrochetFeve0251