We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b32b34 commit f3c9b64Copy full SHA for f3c9b64
src/run/handlers/cache.cts
@@ -157,7 +157,9 @@ export class NetlifyCacheHandler implements CacheHandlerForMultipleVersions {
157
cacheValue.kind === 'APP_ROUTE'
158
) {
159
if (cacheValue.headers?.[NEXT_CACHE_TAGS_HEADER]) {
160
- const cacheTags = (cacheValue.headers[NEXT_CACHE_TAGS_HEADER] as string).split(/,|%2c/gi)
+ const cacheTags = (cacheValue.headers[NEXT_CACHE_TAGS_HEADER] as string)
161
+ .split(/,|%2c/gi)
162
+ .map(encodeURI)
163
requestContext.responseCacheTags = cacheTags
164
} else if (
165
(cacheValue.kind === 'PAGE' || cacheValue.kind === 'PAGES') &&
0 commit comments