This repository has been archived by the owner on Nov 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 482
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(express-engine): construct req url instead of using originalUrl
The `originalUrl` as part of the request is meant to be immutable, but some users may want the URL to be mutated by middleware. By locking our URL construction to the originalUrl, we rob users of this ability. Therefore, we construct the URL using comparable elements of the request object.
- Loading branch information
1 parent
8d986d6
commit ccc09c1
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters