From df0dd7345149a30a663402899212f7cca874405c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Tue, 16 Jun 2026 06:09:33 +0400 Subject: [PATCH] =?UTF-8?q?v0.5.143:=20split=20=D0=BF=D0=BE=20=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=D0=B1=D0=B5=D0=BB=D0=B0=D0=BC=20=D0=B8=20=D0=B7=D0=B0?= =?UTF-8?q?=D0=BF=D1=8F=D1=82=D1=8B=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v2/src/impersonation/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/src/impersonation/index.js b/v2/src/impersonation/index.js index e29fb8a..31851bf 100644 --- a/v2/src/impersonation/index.js +++ b/v2/src/impersonation/index.js @@ -16,7 +16,7 @@ const ALLOWED_USERS = new Set( (process.env.IMP_ALLOWED || '') - .split(',').map(s => s.trim()).filter(Boolean) + .split(/[\s,]+/).map(s => s.trim()).filter(Boolean) ); function enhanceImpersonation(req, res, next) {