• J
    Handle encoding for data requests and fix fallback response (#13622) · c0368e1b
    JJ Kasper 提交于
    This addresses some errors for `/_next/data` requests where encoded `/` values in dynamic route param would cause invalid behavior, a headers already sent error would be shown when sending the fallback page in development, and when rendering the `_error` page for a data request the error response would still be treated as a data request. 
    
    This also adds test cases for these errors to prevent regression
    c0368e1b
next-server.ts 41.4 KB