rsnext/packages/next/next-server
JJ Kasper fc2167311e
Update header replacing to be more relaxed (#15592)
Instead of trying to parse header values as URLs and then replace path segments in them this switches to escaping characters that can break `path-to-regexp` compiling

Fixes: https://github.com/vercel/next.js/issues/15580
x-ref: https://github.com/vercel/vercel/pull/4942
2020-07-29 08:47:23 +00:00
..
lib Add better typing for redirect (#15603) 2020-07-29 09:01:21 +02:00
server Update header replacing to be more relaxed (#15592) 2020-07-29 08:47:23 +00:00