Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #22079 [HttpKernel] Fixed bug with purging of HTTPS URLs (ausi)
This PR was squashed before being merged into the 2.7 branch (closes #22079). Discussion ---------- [HttpKernel] Fixed bug with purging of HTTPS URLs | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | I found two bugs in `HttpCache\Store::purge()` with HTTPS URLs: 1. `->purge('https://example.com/')` only purges the `http` version not the `https` one. 2. If a cache entry exists for both `http` and `https`, only the `http` version gets purged, the `https` version stays in the cache. I think this issues were introduced with #21582. This pull request fixes both issues and adds tests for them. Commits ------- f509150 [HttpKernel] Fixed bug with purging of HTTPS URLs
- Loading branch information