mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-22 16:39:58 +00:00
fix(nuxt): decode URI components in cache driver methods (#30973)
This commit is contained in:
parent
c254e14eb7
commit
717417535d
@ -7,7 +7,7 @@ import lruCache from 'unstorage/drivers/lru-cache'
|
|||||||
/**
|
/**
|
||||||
* @param {string} item
|
* @param {string} item
|
||||||
*/
|
*/
|
||||||
const normalizeFsKey = item => item.replaceAll(':', '_')
|
const normalizeFsKey = item => decodeURIComponent(item.replaceAll(':', '_'))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {{ base: string }} opts
|
* @param {{ base: string }} opts
|
||||||
|
Loading…
Reference in New Issue
Block a user