rsnext/test/e2e/app-dir/_allow-underscored-root-directory
Wyatt Johnson bf52c25497
Underscore Handling Fixes (#47581)
Previously to this PR, if an absolute path contained an `_` it would
ignore all app files. If for example the Next.js app was in a folder
named `/some/_directory` then today:

```
/some/_directory/app/page.js <- should 200, currently 404
/some/_directory/app/route.js <- should 200, currently 404
/some/_directory/app/_internal/route.js <- should 404, currently 200 in development
```

This also enables the same `_` functionality for app routes in
development. After this PR, we get:


```
/some/_directory/app/page.js <- 200
/some/_directory/app/route.js <- 200
/some/_directory/app/_internal/route.js <- 404
```
2023-03-28 12:19:01 +02:00
..
app Underscore Handling Fixes (#47581) 2023-03-28 12:19:01 +02:00
_allow-underscored-root-directory.test.ts Underscore Handling Fixes (#47581) 2023-03-28 12:19:01 +02:00
next.config.js Underscore Handling Fixes (#47581) 2023-03-28 12:19:01 +02:00