Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix relative metadata url resolving on windows (#57265)
x-ref: https://dev.azure.com/nextjs/next.js/_build/results?buildId=71544&view=logs&j=8af7cf9c-43a1-584d-6f5c-57bad8880974&t=7ae70e63-3625-50f4-6764-5b3e72b4bd7a We need to use poxis join for url pathname ``` - Expected - 1 + Received + 1 Object { "itunes": Object { - "appArgument": "http://test.com/base/test/native/app", + "appArgument": "d:\\test\\native\\app", }, "metadataBase": "http://test.com/base", } 210 | ] 211 | const metadata = await accumulateMetadata(metadataItems) > 212 | expect(mapUrlsToStrings(metadata)).toMatchObject( | ^ 213 | mapUrlsToStrings({ 214 | metadataBase: new URL('http://test.com/base'), 215 | itunes: { ```
- Loading branch information