Commit 67ad72b
fix: metadata image route normalize path posix for windows (vercel#71673)
### Why?
When handling the opengraph-image size exceeding the limit, we mapped
with string literal between Rust and JavaScript. The Rust string literal
contains backslashes `\` on Windows, incompatible with JavaScript string
syntax.
Following up on vercel#71615.
Fixes vercel#715821 parent 085d63a commit 67ad72b
File tree
1 file changed
+2
-0
lines changed- packages/next/src/build/webpack/loaders
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
| |||
0 commit comments