Philippe Serhal

Results 57 issues of Philippe Serhal

Rewrites in middleware on i18n sites add the locale to the target automatically. However it is supposed to skip this if the target is a static file. This does not...

Next.js e2e test failure
Next.js

In sites with trailing slashes enabled, requests should not add a trailing slash when they're for non-data static files. ### Data _The following is parsed automatically by the Next.js repo...

Next.js e2e test failure
Next.js

When redirecting a data request, middleware returns a response with `x-nextjs-redirect`, rather than a `location` header. We handle this correctly. However Next.js expects us to directly return and empty response...

Next.js e2e test failure
Next.js

If a Next.js page returns a 500 error and the browser sent accept-encoding gzip, it seems the returned data _is_ encoded, but no encoding header is set, so the browser...

Next.js e2e test failure
Next.js

The test ["app-dir action handling fetch actions should store revalidation data in the prefetch cache"](https://github.com/vercel/next.js/blob/6475431a4cbbf2b71c38158e0e722183779faf4f/test/e2e/app-dir/actions/app-action.test.ts#L980) fails when running tests, but seems to work fine when testing manually. It may be...

Next.js e2e test failure
Next.js

When appending a `set-cookie` header, the server returns two copies of the header. e.g. ```ts export async function middleware(request, ev) { const next = NextResponse.next() next.headers.append('set-cookie', 'bar=chocochip') return next }...

Next.js e2e test failure
Next.js

On sites that use pages router and have middleware, loading a page using next/link will attempt to load a JSON file, which will return a 404. If there is no...

Next.js e2e test failure
Next.js

A pages router site with both basepath and i18n enabled does not match middleware targeted at the root unless a locale is in the URL. It should match when using...

Next.js e2e test failure
Next.js

There are a few scenarios where our the custom matchers from middleware are not correctly being transformed when using i18n and default locales, as they're either matching too broadly or...

Next.js e2e test failure
Next.js

I'm not quite sure exactly what the scope of this is, but the failing tests here have a fixture site that enables `skipMiddlewareUrlNormalize` and a user middleware that redirects any...

Next.js e2e test failure
Next.js