next.js
916f105b - Update middleware public/static matching (#78325)

Commit
285 days ago
Update middleware public/static matching (#78325) This updates our matcher handling for middleware to ensure we check encoded/decoded versions of the pathname since the regex will most often not handle all encoding variations. This matcher change only affects public/static files as pages/API routes doesn't allow mismatching encoding.
Author
Parents
Loading