Skip to content
Myr

Merge tag '4.19.1' into 5.x

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

4.19.1

authored by Wes Todd · committed by Wes Todd · parents e9f9aae, 4f0f6cc · Browse files · 3 files+25 added−5 removed
This commit

State

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

Diff stats

3 files+25 added−5 removed

  • tests:+17 added−2 removed
  • other:+8 added−3 removed

3 files+25 added−5 removed

modified:lib/response.js+1 added-1 removed
771 unmodified lines
772 * @public773 */774775res.location = function location(url) {776 var loc = url;776 var loc = String(url);777778 // "back" is an alias for the referrer779 if (url === 'back') {780 loc = this.req.get('Referrer') || '/';
264 unmodified lines
modified:test/res.location.js+17 added-2 removed
modified:History.md+7 added-2 removed
15.x2===34This incorporates all changes after 4.17.2 up to 4.17.3.4This incorporates all changes after 4.17.2 up to 4.19.1.565.0.0-beta.1 / 2022-02-147=========================8
152 unmodified lines
161 - `req.query` is now a getter instead of a plain property162 * add:163 - `app.router` is a reference to the base router1641654.18.3 / 2024-03-201654.19.1 / 2024-03-20166==========167168 * Allow passing non-strings to res.location with new encoding handling checks1691704.19.0 / 2024-03-20171==========172173 * Prevent open redirect allow list bypass due to encodeurl174 * deps: cookie@0.6.01751764.18.3 / 2024-02-29
3598 unmodified lines