forwardemail / forwardemail/superagent

When following a redirect from `/foo` to `/`, `res.req.url` is `/foo` instead of `/`

Open
#960 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
16.6k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

When redirecting to any path but `/`, the `end` callback response object has the correct redirected-to URL in `res.req.url`. When redirecting to `/`, it does not. It has the previous URL instead.

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.