Skip to content
Myr

Fixed `res.redirect()` on windows due to `join()` usage. Closes #808

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 7eeec91 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:lib/response.js+1 added-1 removed
411 unmodified lines
412413 // Relative414 if (!~url.indexOf('://')) {415 // Respect mount-point416 if (app.route) url = join(app.route, url);416 if ('/' != app.route) url = app.route + url;417418 // Absolute419 var host = req.headers.host420 , tls = req.connection.encrypted;
17 unmodified lines