expressjs / expressjs/express

Shouldn't app.set("case sensitive routing") propagate to new Routers?

Open
#2,564 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
69.5k
Forks
25k
Avg merge
4d 20h
Merged PRs (30d)
9

Description

Just wondering if app settings such as "case sensitive routing" should be also applied in new `Router` instances created by the user.

Of course that would require some kind of magic in what `express.Router` returns (it should be a function that creates a new `Router` and applies the app settings unless provided by the user).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.