wp-rocket
wp-rocket copied to clipboard
fix relative urls regex in cdn to work with dots
Description
fix relative urls regex in cdn to work with dots
Fixes #3724
Type of change
- Bug fix (non-breaking change which fixes an issue).
Is the solution different from the one proposed during the grooming?
No
Checklists
Generic development checklist
- [x] My code follows the style guidelines of this project, with adapted comments and without new warnings.
- [x] I have added unit and integration tests that prove my fix is effective or that my feature works.
- [x] The CI passes locally with my changes (including unit tests, integration tests, linter).
- [x] Any dependent changes have been merged and published in downstream modules.
- [ ] If applicable, I have made corresponding changes to the documentation. Provide a link to the documentation.
Test summary
- [x] I triggered all changed lines of code at least once without new errors/warnings/notices.
- [x] I validated all Acceptance Criteria of the related issues. (If applicable, provide proof).
- [ ] I validated all test plan the QA Review asked me to.
If not, detail what you could not test.