refinery / refinerycms

An extendable Ruby on Rails CMS that supports Rails 6.0+
https://www.refinerycms.com/
MIT License
3.9k stars 1.26k forks source link

Remove call to URI.Encode for dragonfly.cache_store_root. #3490

Closed anitagraham closed 3 years ago

anitagraham commented 3 years ago

URI.Encode is deprecated. The line is commented

URI.encode("file:#{extension.dragonfly_cache_store_root}/meta"), # URI encoded in case of spaces

This variable being encoded is used as a file path and it is not clear that encoding spaces is useful in this case.