next.js
a1a006be - Reject next image urls in image optimizer (#68628)

Commit
1 year ago
Reject next image urls in image optimizer (#68628) Follow up on #67465, add more cases that should be rejected by image optimizer when the url is tend to contain the generated next image with `/_next/image` in url. These should also get should get rejected: * with encoded: `%2F_next%2Fimage%3` * with asset prefix: `/assets/_next/image` * with host: `https://<domain>/_next/image` Closes NDX-101 x-ref: [slack](https://vercel.slack.com/archives/C07AYREDX45/p1720111367743119)
Author
Committer
Parents
Loading