fog / fog-core

fog's core, shared behaviors without API and provider specifics
MIT License
45 stars 95 forks source link

Fix wrong Cache#namespace path #286

Closed jsirex closed 1 year ago

jsirex commented 1 year ago

SANDBOX and namespace_prefix can have their own register. We shouldn't downcase whole path.

Without this patch Case 1: $HOME == '/home/Domain_User' - will fail (mkdir - permission denied /home/domain_user) Case 2: namespace_prefix == 'MyService' - will create ~/.fog-cache/myservice

geemus commented 1 year ago

Thanks!