fix(nuxt): decode URI components in cache driver methods (#30973)

This commit is contained in:
Vahagn Zaqaryan 2025-02-20 20:13:52 +04:00 committed by GitHub
parent c254e14eb7
commit 717417535d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,7 @@ import lruCache from 'unstorage/drivers/lru-cache'
/**
* @param {string} item
*/
const normalizeFsKey = item => item.replaceAll(':', '_')
const normalizeFsKey = item => decodeURIComponent(item.replaceAll(':', '_'))
/**
* @param {{ base: string }} opts