Skip to content

Commit 06223dd

Browse files
committed
Merge branch '7.1' into 7.2
* 7.1: [Router] Discard in-memory cache of routes when writing the file-based cache [Security] Verify Hungarian translation force HTTP 1.1 for Mailgun API requests [String] Revert "Fixed u()->snake(), b()->snake() and s()->snake() methods" normalize underscores in snake() [Security][Validator] Added missing Portuguese(pt) translations Fixes #54550 some pt_BR translations Fix MockArraySessionStorage to generate more conform ids Bump Symfony version to 5.4.42 Update VERSION for 5.4.41 Update CONTRIBUTORS for 5.4.41 Update CHANGELOG for 5.4.41
2 parents 1abf6a8 + 76769ca commit 06223dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Router.php

+2
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ function (ConfigCacheInterface $cache) {
225225
}
226226

227227
$cache->write($dumper->dump(), $this->getRouteCollection()->getResources());
228+
unset(self::$cache[$cache->getPath()]);
228229
}
229230
);
230231

@@ -254,6 +255,7 @@ function (ConfigCacheInterface $cache) {
254255
$dumper = $this->getGeneratorDumperInstance();
255256

256257
$cache->write($dumper->dump(), $this->getRouteCollection()->getResources());
258+
unset(self::$cache[$cache->getPath()]);
257259
}
258260
);
259261

0 commit comments

Comments
 (0)