From 69c99b45a71ffb190995c5d578a9ba5ef1744f3d Mon Sep 17 00:00:00 2001 From: Shivam Sharma Date: Mon, 9 Mar 2026 20:16:15 +0530 Subject: [PATCH] refactor: keep descriptive variable name --- lib/response.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/response.js b/lib/response.js index f965e539dd2..dd9652ab879 100644 --- a/lib/response.js +++ b/lib/response.js @@ -842,9 +842,9 @@ res.redirect = function redirect(url) { }, html: function(){ - var u = escapeHtml(address); + var escapedUrl = escapeHtml(address); body = '' + statuses.message[status] + '' - + '

' + statuses.message[status] + '. Redirecting to ' + u + '

' + + '

' + statuses.message[status] + '. Redirecting to ' + escapedUrl + '

' }, default: function(){