Double slash in rc path #722
Labels
Attn: Good First Issue
This issue or PR is a great candidate for first time contributors to resolve.
Level: Bug 🐞
This item involves a legitimate regression (bug) to existing functionality.
In getRuntimePath (/liip/imagine-bundle/Imagine/Cache/CacheManager.php, line 155) we have:
Thus output link (notice the //):
.../media/cache/preview/rc/Hbw6cV1x**//**uploads/2016/03/22/d1c56da4ee3d96e985863b89c78bf3c4.jpeg
Should it be replaced by something like:
return 'rc/'.$this->signer->sign($path, $runtimeConfig).'/'.ltrim($path, '/');
The text was updated successfully, but these errors were encountered: